[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with gnu emacs



On Tue, 12 Aug 2008 10:51:16 +0200, Vincent Lefevre <vincent@vinc17.org> said: 

> On 2008-08-12 08:43:00 +0200, Sven Joachim wrote:
>> On 2008-08-12 05:51 +0200, Zach Uram wrote:
>> > When I run emacs I see this error:
>> >
>> > emacs: /usr/local/lib/libpng12.so.0: no version information
>> > available (required by emacs)
>> 
>> Try moving that file out of the way.  In general, it is not a good
>> idea to install libraries into /usr/local/lib.

> In general, when installing libraries, the goal is to be able to use
> them (in particular by programs compiled by the user). So, the right
> place is /usr/local/lib if they are for all users of the machine, and
> $HOME/lib for the user who installed them.

> Now, if Debian packages are not meant to use external libraries (i.e.
> that do not come from Debian), one may wonder if these Debian packages
> should use a run path.

        If you put a shared library in /usr/local/lib which has the same
 so name as a library shipped by Debian, but is not binary compatible
 with it, you will have problems, sinc the loader loads the incompatible
 library, and breaks all packages compiled with the Debian supplied
 library.

        manoj
-- 
All the existing 2.0.x kernels are to buggy for 2.1.x to be the main
goal. -- Alan Cox
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


Reply to: