Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

The rendering of my emacs fonts changes if I define a specific list of directories under the LD_LIBRARY_PATH environment variable just before I call emacs. I changed this because I wanted to use emacs to debug a specific program that requires some of the libraries in the path, but I wasn't expecting the emacs fonts to change. What could be causing this effect on my emacs fonts?

I get this warning:

emacs: /somewhere/libpng12.so.0: no version information available (required by emacs)
share|improve this question
    
What, specifically, is the specific list of directories you added to debug the unspecified specific program? –  depquid Apr 17 '13 at 15:37
add comment

1 Answer

up vote 2 down vote accepted

I think your issue is the version of libpng12.so.0 is lower on the shared object, than what emacs was built against.

The "no version information available" means that the library version number is lower on the shared object. For example, if your major.minor.patch number is 7.15.5 on the machine where you build the binary, and the major.minor.patch number is 7.12.1 on the installation machine, ld will print the warning.

You can fix this by compiling with a library (headers and shared objects) that matches the shared object version shipped with your target OS. E.g., if you are going to install to RedHat 3.4.6-9 you don't want to compile on Debian 4.1.1-21. This is one of the reasons that most distributions ship for specific linux distro numbers.

See this stackoverflow question for more info, specifically this answer.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.