Hey Richard!
How do the permissions look for that library?
--zak
Richard wrote:
> Warning: Sleep-deprived post...
>
> Please Cc: me in replies...
>
> I know I'm not the most clueful guy, but...
>
> I'm trying to compile GD as a shared library, and failing miserably.
>
> Comfiguring/making without the "shared," part in
> "--with-gd=shared,/blah/blah/blah" works just fine, and the resulting
> CGI binary has GD support.
>
> Alas, when trying to add that "shared," bit in there, I always get a
> big ol' box at the end of configure ATTENTION... simple feature...
> check debug.log.
>
> So, I do, and there's this in it.
>
> [root@www php-4.0.4]# less debug.log
> CONFIGURE: './configure' '--with-mysql=/usr/local/mysql'
> '--with-pgsql=/usr/sr
> c/postgresql-6.5.2' '--enable-track-vars' '--enable-trans-sid'
> '--enable-ftp' '-
> -enable-gd-imgstrttf'
> '--with-gd=shared,/home/sites/home/users/admin/software/gd
> -1.8.4/' '--with-jpeg-dir=/usr/local'
> '--with-png-dir=/home/sites/home/users/adm
> in/software/libpng-1.0.12/'
> '--with-zlib-dir=shared,/home/sites/home/users/admin
> /software/zlib'
> CC: gcc
> CFLAGS: -g -O2
> CPPFLAGS:
> CXX:
> CXXFLAGS:
> INCLUDES: -I$(top_builddir)/Zend
> -I/home/sites/home/users/admin/software/gd
> -1.8.4/ -I/usr/local/mysql/include/mysql
>
LDFLAGS: -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/my
sql
> -Wl,-rpath,/usr/lib/pgsql -L/usr/lib/pgsql
> LIBS: -lpq -lmysqlclient -lpng -lz -lresolv -lm -ldl -lcrypt
> -lnsl -lreso
> lv -L/usr/local/lib -ljpeg
> DLIBS:
> SAPI: cgi
> PHP_RPATHS: /usr/local/mysql/lib/mysql /usr/lib/pgsql
> uname -a: Linux www.actbaby.com 2.2.14C5 #1 Mon May 8 10:14:32 PDT
> 2000 i586 u
> nknown
>
> gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/mysql/lib/mysql
> -L/usr/local/mysq
> l/lib/mysql -Wl,-rpath,/usr/lib/pgsql -L/usr/lib/pgsql conftest.c
> -lpq -lmysqlcl
> ient -lpng -lz -lresolv -lm -ldl -lcrypt -lnsl -lresolv
> -L/usr/local/lib -ljpeg
> 1>&5
> ./conftest: error in loading shared libraries: libjpeg.so.62: cannot
> open shared
> object file: No such file or directory
> [root@www php-4.0.4]# whereis libjpeg.so.62
> libjpeg.so: /usr/local/lib/libjpeg.so.62 /usr/local/lib/libjpeg.so
> [root@www php-4.0.4]#
>
> So, other than /usr/local/lib/libjpeg.so.62 and in the jpeg-6b source
> tree, and inside lib in the jpeg-62 source tree and in the PHP-4.0.4
> directory, where *ELSE* could I place libjpeg.so.62 for configure to
> find it, and why can it find it okay in a static GD build, but not
> shared?
>
> I'm assuming other people have compiled GD dynamically with JPEG
> support, but I'm failing miserably.
>
> Cobalt RaQ, I compiled jpeg --enabled-shared, (though I think that's
> the default for libjpeg...) and have tried about 20 times to do this
> with variations on the various paths and suchlike...
>
> I got close at one point -- I had a gd.so, but attempting to dl() it
> complained about the same missing jpeg lib, and I couldn't dl that,
> cuz it's not a PHP .so, just a regular one, and throwing it in the
> web directory next to gd.so didn't help...
>
> I think the gd.so was actually not complaining about getimagefromjpeg
> not being defined, so it even had (I think) the JPEG functions in
> there... But maybe I'm dreaming that part.
>
> I'm trying to avoid making this one box of 7 have a different PHP
> module just to get GD support on there...
> --
> WARNING [EMAIL PROTECTED] email address is an endangered species
> Use [EMAIL PROTECTED] instead
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]