Re: [PHP-DEV] GD Shared library confusion

2002-03-03 Thread Rasmus Lerdorf
ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18) And no, none of my /usr/lib/*pspell*.la files have -L/usr/lib in their dependency_libs. Lots of other .la files in /usr/lib have that, but not pspell. -Rasmus On Sun, 3 Mar 2002, Jani Taskinen wrote: > > Libtool version? Not all have

Re: [PHP-DEV] GD Shared library confusion

2002-03-03 Thread Jani Taskinen
Hmm..it depends on so many things. But the bug exists only in some 1.4.x versions (including 1.4). --Jani On Sun, 3 Mar 2002, Markus Fischer wrote: >On Sun, Mar 03, 2002 at 06:37:53PM +0200, Jani Taskinen wrote : >> >> Libtool version? Not all have this problem.. > >$ libto

Re: [PHP-DEV] GD Shared library confusion

2002-03-03 Thread Markus Fischer
On Sun, Mar 03, 2002 at 06:37:53PM +0200, Jani Taskinen wrote : > > Libtool version? Not all have this problem.. $ libtool --version ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18) I think I lost discussion point somewhere now .. sorry -- Please always Cc to me when

Re: [PHP-DEV] GD Shared library confusion

2002-03-03 Thread Jani Taskinen
Libtool version? Not all have this problem.. --Jani On Sun, 3 Mar 2002, Markus Fischer wrote: >On Sun, Mar 03, 2002 at 06:16:07PM +0200, Jani Taskinen wrote : >> >> As long as the config.m4's use PHP_ADD_LIBRARY_WITH_PATH() >> and the other macros and don't touch LIBS themselv

Re: [PHP-DEV] GD Shared library confusion

2002-03-03 Thread Markus Fischer
On Sun, Mar 03, 2002 at 06:16:07PM +0200, Jani Taskinen wrote : > > As long as the config.m4's use PHP_ADD_LIBRARY_WITH_PATH() > and the other macros and don't touch LIBS themselves, > there won't be any /usr/lib entries in it. > > So, I'd check the .la files. There's propably l

Re: [PHP-DEV] GD Shared library confusion

2002-03-03 Thread Jani Taskinen
As long as the config.m4's use PHP_ADD_LIBRARY_WITH_PATH() and the other macros and don't touch LIBS themselves, there won't be any /usr/lib entries in it. So, I'd check the .la files. There's propably libpspell.la which has -L/usr/lib defined in 'dependency_libs='. And

Re: [PHP-DEV] GD Shared library confusion

2002-03-02 Thread Rasmus Lerdorf
> This is the problem. /usr/lib shouldn't be here. > In your working build you won't see it. Looks like ext/pspell/config.m4 is the culprit. -Rasmus -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] GD Shared library confusion

2002-03-02 Thread Jani Taskinen
On Sat, 2 Mar 2002, Rasmus Lerdorf wrote: >-L/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../.. >-L/usr/lib/gcc-lib/i386-redhat-linux/2.96 >-L/tmp/19246-i386/BUILD/pspell-.12.2/modules/.libs -L/usr/lib This is the problem. /usr/lib shouldn't be here. In your working build you won't see it.

Re: [PHP-DEV] GD Shared library confusion

2002-03-02 Thread Rasmus Lerdorf
Hrm.. Ok, so the problem isn't as clearcut as I thought. A walkthrough: Install the gd-1.8.x and gd-devel-1.8.x packages on some common Linux distro. I am using an old rh-7.1 box with a bunch of upgraded packages here. Make sure it installs a /usr/lib/libgd.so Then download gd-2.0.1.tar.gz fr

Re: [PHP-DEV] GD Shared library confusion

2002-03-02 Thread Rasmus Lerdorf
> >The problem really is that when you give configure a path to some specific > >place for a static library, but you also have that library as a shared > >library in /usr/lib things get messy because we do the configure check > >against the located static library explicitly, but then we do a > >

Re: [PHP-DEV] GD Shared library confusion

2002-03-02 Thread Jani Taskinen
On Sat, 2 Mar 2002, Rasmus Lerdorf wrote: >> At 08:03 AM 3/2/2002 -0800, Rasmus Lerdorf wrote: >> > > >If the system also has a /usr/lib/libgd.so then as of 4.2.0 the -lgd is >> > > >picking up this shared library. >> > > > >> > > >I suppose the only way around this is to use a full path to the s

Re: [PHP-DEV] GD Shared library confusion

2002-03-02 Thread Rasmus Lerdorf
> At 08:03 AM 3/2/2002 -0800, Rasmus Lerdorf wrote: > > > >If the system also has a /usr/lib/libgd.so then as of 4.2.0 the -lgd is > > > >picking up this shared library. > > > > > > > >I suppose the only way around this is to use a full path to the static > > > >library in the link line instead of

Re: [PHP-DEV] GD Shared library confusion

2002-03-02 Thread Andi Gutmans
At 08:03 AM 3/2/2002 -0800, Rasmus Lerdorf wrote: > > >If the system also has a /usr/lib/libgd.so then as of 4.2.0 the -lgd is > > >picking up this shared library. > > > > > >I suppose the only way around this is to use a full path to the static > > >library in the link line instead of -lgd. Does

Re: [PHP-DEV] GD Shared library confusion

2002-03-02 Thread Rasmus Lerdorf
> >If the system also has a /usr/lib/libgd.so then as of 4.2.0 the -lgd is > >picking up this shared library. > > > >I suppose the only way around this is to use a full path to the static > >library in the link line instead of -lgd. Does a full path library link > >work for a shared library as we

Re: [PHP-DEV] GD Shared library confusion

2002-03-02 Thread Andi Gutmans
At 07:56 AM 3/2/2002 -0800, Rasmus Lerdorf wrote: >Ok, so the situation is this: > >--with-gd=/some/dir > >This will go through and do configure checks to figure out which version >of GD live in /some/dir. Say a static libgd.a built from gd-2.0.1 is >sitting in there. > >If the system also has a