Link.shared help

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Link.shared help
Date: 2003-09-13 20:47:44
Message-ID: 33470000.1063486064@lerlaptop.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Miko O'Sullivan 2003-09-13 21:14:39 Re: massive quotes?
Previous Message Bruce Momjian 2003-09-13 17:01:05 Re: Reorganization of spinlock defines