--- On Fri, 7/11/08, N. Raghavendra <[EMAIL PROTECTED]> wrote: > From: N. Raghavendra <[EMAIL PROTECTED]> > Subject: Re: Library mapping question > To: [EMAIL PROTECTED] > Cc: email@example.com > Date: Friday, July 11, 2008, 9:22 PM > At 2008-07-11T02:18:21-07:00, Unga wrote: > > > [/usr/bin/app2/] > > libXXX.so /usr/local/lib/libXXX.so > > > > Now when run app2 it does not say anymore > "undefined references" but > > it says "Shared object > "/usr/local/lib/libXXX.so" not found" > > > > ls -l /usr/local/lib/libXXX.so shows its there. > > > > Is /etc/libmap.conf specification correct? > > In all the examples I've seen, the "mapping" > entries in > libmap.conf(5), i.e., the ones in the second column, are > relative to > the search path for libraries. Further, it is better to > use only the > basename of the executable in the constraint of the mapping > --- the > part enclosed by square brackets. So, the following may > work: > > cd /usr/local/lib && ln -s libXXX.so libFOO.so > > to distinguish it from the one in `/usr/lib', which > directory comes > earlier in the search path. Then, append these two lines > to > `/etc/libmap.conf': > > [app2] > libXXX.so libFOO.so > > HTH, > Raghavendra. >
Hi Raghavendra Thanks for the reply. It's most promising for the moment. Mel's method may be used next time when I build the app. Best Regards Unga _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"