Link.shared help - Mailing list pgsql-hackers

From Larry Rosenman
Subject Link.shared help
Date
Msg-id 33470000.1063486064@lerlaptop.lerctr.org
Whole thread Raw
Responses Re: Link.shared help/BROKEN UNIXWARE!/Reversion Request.  (Larry Rosenman <ler@lerctr.org>)
List pgsql-hackers
With the patch I supplied for UnixWare for absolute pathnames, I've created
a chicken and egg problem.

I need to be able to set $(libdir) to nada during build, and link, and then
re-link the shared libs on the install with $(libdir) set correctly.  The
reason is:

gmake[4]: Entering directory
`/home/ler/pg-dev/pgsql/src/interfaces/ecpg/compatlib'
cc -G -Wl,-z,text -Wl,-h,/usr/local/pgsql74/lib/libecpg_compat.so.1
informix.o -L../../../../src/port -L/usr/local/lib -L../pgtypeslib
-lpgtypes -L../ecpglib -lecpg  -Wl,-R/usr/local/pgsql74/lib -o
libecpg_compat.so.1.0
UX:ld: ERROR: library /usr/local/pgsql74/lib/libpgtypes.so.1, which is
NEEDED by /usr/local/pgsql74/lib/libecpg.so.4, is not found
gmake[4]: *** [libecpg_compat.so.1.0] Error 1
gmake[4]: Leaving directory
`/home/ler/pg-dev/pgsql/src/interfaces/ecpg/compatlib'


Any GNUmake guru's out there willing to help?

I didn't notice the problem since I have a 7.4 install in my normal prefix.



--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Another small bug (pg_autovacuum)
Next
From: Tom Lane
Date:
Subject: Re: memory allocation and powers of two