Re: [HACKERS] A suggestion on finding those pesky .so files

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "J(dot) Michael Roberts" <mirobert(at)cs(dot)indiana(dot)edu>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] A suggestion on finding those pesky .so files
Date: 1999-08-02 05:23:13
Message-ID: 177.933571393@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"J. Michael Roberts" <mirobert(at)cs(dot)indiana(dot)edu> writes:
> On searching, I found that you can specify -R/usr/local/pgsql/lib during
> linking in gcc and in cc on Solaris -- is there some reason that would be
> bad to do in general?

Only that it's platform-specific. We do already do the equivalent
incantation for HPUX --- they pronounce it differently, of course,
but it's the same idea --- and it seems to work well. If you want
to submit a patch to make it happen on Solaris, go for it.
(The HPUX tweak is in makefiles/Makefile.hpux, so I suppose you'd
want to hack on Makefile.solaris_*.)

Ultimately I think we want to get out of the business of learning
all these grotty details about shared libraries on different flavors
of Unix, and instead rely on GNU libtool to do it for us. But
converting to libtool takes work too :-(

regards, tom lane

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 1999-08-02 05:38:43 Re: [HACKERS] Installation procedure.
Previous Message The Hermit Hacker 1999-08-02 05:21:42 Re: [HACKERS] Installation procedure.