Re: PDFLIB INSTALL PROBLEM - SOLVED

From: Date: Tue, 22 Aug 2000 00:01:14 +0000
Subject: Re: PDFLIB INSTALL PROBLEM - SOLVED
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-12847@lists.php.net to get a copy of this message
Figured this out, but am posting here (1) for my future reference! and (2) to possibly help anyone else... The 'symbolic links' were the problem, in my /usr/lib area. The 'man ld' page had some comment about ld not liking symbolic links, although I see them often. Well, what I started noticing about the symbolic links in my /usr/lib directory was that there were 2 or more levels. libtiff.so -> libtiff.so.1 libtiff.so.1 -> libtiff.so.1.0 libtiff.so.1.0 -> libtiff.so.1.0.0 etc. libtiff.so.1.0.0 was the REAL file, but there were multiple levels of symbolic links above it. Cutting that to just one symbolic link level made it work. Bear in mind that this is Caldera 2.4, with a 2.2.14 kernel, but I'm still not sure how it installed THIS way, when I had installed this same CD a couple months ago without this problem. Anyway, I hope this might help someone else out in the future. BTW, there are a couple other changes we've had to make to get this to work with FreeTDS and SQL7 - email me if you're interested. Thanks for everyone's input! :) Michael Kimsal wrote: > Not sure if this info helps anyone at all, but... > > doing a ./configure --with-pdflib nets me... > > checking whether to include Pdflib 3.x support... yes > yes > checking for PDF_show_boxed in -lpdf... no > configure: error: pdflib extension requires at least pdflib 3.x. You may also > ne > ed libtiff and libjpeg. If so (cuts off here?!) > > However, ./configure --with-pdflib=/usr/local/lib (which is where it is) > gets me > checking whether to include Pdflib 3.x support... no > > ??? > > Does this ring a bell with anyone? > > P.S. There is a symbolic link already there. :( > > Thanks. > > Rasmus Lerdorf wrote: > > > > Yes - I got it about 2 hours ago. > > > > Hrm. Well, that exact configuration works fine for me. > > > > For pdflib: > > ./configure --enable-shared-pdflib > > make > > make install > > > > for PHP: > > > > ./configure --with-pdflib=/usr/local > > > > If you are on Linux, make sure you add '/usr/local/lib' to your > > /etc/ld.so.conf file and run 'ldconfig'. If you are on something else, I > > suggest linking /usr/lib/libpdf.so to /usr/local/lib/libpdf.so.0.0.1 > > > > -Rasmus > > -- > ========================== > Michael Kimsal > http://www.tapinternet.com > 734-480-9961 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- ========================== Michael Kimsal http://www.tapinternet.com 734-480-9961

« previous php.general (#12847) next »