Operating System - Linux
1753844 Members
7179 Online
108806 Solutions
New Discussion юеВ

Re: Having trouble with archive libraries in 64-bit 11.11 HP-UX

 
SOLVED
Go to solution
MTSU_SAN
Regular Advisor

Re: Having trouble with archive libraries in 64-bit 11.11 HP-UX

OKay, it turns out that when I played with it, I used /usr/ccs/bin/ar or /usr/ccs/bin/ranlib, but when I ran the Makefile, it deleted and recreated with ar or ranlib, which are both links to those files, but they DO NOT work the same:
frank3:[/usr/local4/openldap-2.3.19] # ll /bin/ranlib
lr-xr-xr-t 1 root sys 19 Dec 22 2004 /bin/ranlib -> /usr/ccs/bin/ranlib
frank3:[/usr/local4/openldap-2.3.19] # ll /usr/ccs/bin/ranlib
-r-xr-xr-x 1 bin bin 854 Sep 9 2004 /usr/ccs/bin/ranlib

When I switched libtool to use the full path, now it works. Thanks for all of your help!!! Never would have found something that picky myself...
MTSU_SAN
Regular Advisor

Re: Having trouble with archive libraries in 64-bit 11.11 HP-UX

Forgot to close when I posted the solution!
Dennis Handly
Acclaimed Contributor

Re: Having trouble with archive libraries in 64-bit 11.11 HP-UX

>it deleted and recreated with ar or ranlib, which are both links to those files, but they DO NOT work the same:

This is not likely, the softlinks should work exactly the same. If you are using a "real" shell, what does whence ranlib or whence ar show?

It will likely show the wrong /usr/local/bin/ version?

So you should make sure that /usr/bin comes before /usr/local/bin/.