Link.shared help

Started by Larry Rosenmanover 22 years ago3 messageshackers
Jump to latest
#1Larry Rosenman
ler@lerctr.org

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

#2Larry Rosenman
ler@lerctr.org
In reply to: Larry Rosenman (#1)
Re: Link.shared help/BROKEN UNIXWARE!/Reversion Request.

Since I haven't gotten a reply, can someone REVERT the lines in
src/Makefile.shlib that adds $(libdir)/$(soname) for
port,eq,unixware to $(soname)?

I need to look harder.

Thanks!

--On Saturday, September 13, 2003 15:47:44 -0500 Larry Rosenman
<ler@lerctr.org> wrote:

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

#3Bruce Momjian
bruce@momjian.us
In reply to: Larry Rosenman (#2)
Re: Link.shared help/BROKEN UNIXWARE!/Reversion Request.

Done.

---------------------------------------------------------------------------

Larry Rosenman wrote:
-- Start of PGP signed section.

Since I haven't gotten a reply, can someone REVERT the lines in
src/Makefile.shlib that adds $(libdir)/$(soname) for
port,eq,unixware to $(soname)?

I need to look harder.

Thanks!

--On Saturday, September 13, 2003 15:47:44 -0500 Larry Rosenman
<ler@lerctr.org> wrote:

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

-- End of PGP section, PGP failed!

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073