RE: 7z.so isn't found by testForLib

Eugene Zolenko <EugeneZolenko-XYgkjQFSZqy1Z/[email protected]> Wed, 7 Jan 2009 12:07:37 -0700
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
Well, /usr/lib/p7zip/ doesn't look like default path to be included in
ldconfig search paths.

 

That means whatever installed this library must add the path to
ldconfig, 

 

Install (of 7z lib) should create /etc/ld.so.conf.d/7z.conf containing
that path and run # ldconfig

 

If ldconfig -p doesn't list the .so, then linker will not find it, which
meant library is as good as non-existing (except for apps that know
exactly where it is).

 

So testForLib seems to work as it should.

 

(unless ldconfig -p does list it) 

 

________________________________

From: Jan Niklas Hasse [mailto:[email protected]] 
Sent: Wednesday, January 07, 2009 11:36 AM
To: autopackage-dev-OfajU3CKLf1/[email protected]
Subject: 7z.so isn't found by testForLib

 

A user on the forum has reported that "testForLib -v 7z.so" doesn't
work. See:
http://watteimdocht.de/autopackage/forum/viewtopic.php?f=5&t=44

It's strange, because 7z.so seems to be missing in the list that
ldconfig -p returns. Does someone know why?