Re: PHP 4 build trouble
| From: | Lars Hecking | Date: | Fri, 16 Jun 2000 12:54:50 +0000 |
| Subject: | Re: PHP 4 build trouble | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21510@lists.php.net to get a copy of this message | ||
> > By "bad" I mean: should not be used. The ucblib stuff is for SunOS4
> > compatibility, and I certainly don't want this for new apps.
>
> It works and fixes a couple of other problems which are
> caused by not adding ucblib to the library search path.
Interesting. I'd like to hear some details.
> Obviously, the library runpath is not set up correctly. The
> 1_3 libtool branch lacks a feature (!= has a problem) and
> does not hardcode runpaths into shared libraries. So, you
> need to setup LD_LIBRARY_PATH appropiately.
LD_LIBRARY_PATH is not an option.
I have solved this now by using
$ ./configure ...
$ LD_RUN_PATH=/usr/local/lib make