--- On Fri, 7/11/08, Polytropon <[EMAIL PROTECTED]> wrote:

> From: Polytropon <[EMAIL PROTECTED]>
> Subject: Re: Library mapping question
> To: freebsd-questions@freebsd.org
> Cc: [EMAIL PROTECTED]
> Date: Friday, July 11, 2008, 5:09 PM
> Hi.
> 
> On Fri, 11 Jul 2008 01:22:21 -0700 (PDT), Unga
> <[EMAIL PROTECTED]> wrote:
> > How do I get the app2 to refer to
> /usr/local/lib/libXXX.so?
> > 
> > In FreeBSD, is there a way to instruct the dynamic
> linker
> > (ld-elf.so.1) to continue to search for the same
> library
> > name in different locations?
> 
> Maybe an entry in /etc/libmap.conf (man 5 libmap.conf) will
> reveal a possible solution?
> 
Hi 

I was just now trying it after reading the libmap.conf(5).

I specified following in /etc/libmap.conf:

[/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?

Regards
Unga


      
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to