Re: Building php4 - Can't load libiconv.so.4.0
* Jason Dixon [2006-02-04]: I'm trying to build php4 with extensions, but it keeps crashing with the following error: Not reproducable on my 3.8-stable system. Nikolay
Re: Building php4 - Can't load libiconv.so.4.0
On Sat, Feb 04, 2006 at 12:51:17AM -0200, Felipe Scarel wrote: Emmanuel Jarri is having the same problem with libiconv (just sent to ports@), maybe they are related? no. steven Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
Re: Building php4 - Can't load libiconv.so.4.0
On Fri, Feb 03, 2006 at 07:11:58PM -0500, Jason Dixon wrote: I'm trying to build php4 with extensions, but it keeps crashing with the following error: === Faking installation for php4-core-4.4.0p0 install -d -o root -g bin -m 755 /usr/ports/www/php4/core/w-php4- core-4.4.0p0/fake-i386/usr/local/lib/php Installing PEAR environment: /usr/ports/www/php4/core/w-php4- core-4.4.0p0/fake-i386/var/www/pear/ /usr/ports/www/php4/core/w-php4-core-4.4.0p0/php-4.4.0/sapi/cli/php: can't load library 'libiconv.so.4.0' *** Error code 4 snip I installed a new ports tree, but that hasn't made any difference. I downloaded and installed the packages from FTP, but they also fail with a can't load libiconv.so.4.0 error when running php or pear. Any suggestions? This is a 3.8 -release GENERIC server here, only used for some monitoring duties. I'm sure I'm missing something stupid, but I've got a head cold and can't think straight. ;-) i cannot reproduce this either. btw, -stable has php-4.4.1p0. steven Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
Re: Building php4 - Can't load libiconv.so.4.0
On Feb 4, 2006, at 4:13 AM, Nikolay Sturm wrote: * Jason Dixon [2006-02-04]: I'm trying to build php4 with extensions, but it keeps crashing with the following error: Not reproducable on my 3.8-stable system. I don't think anything is wrong with the ports. I'm sure it's probably user error, but I can't imagine what I could have done to cause this. I'm just looking for possible points of investigation. Thanks, -- Jason Dixon DixonGroup Consulting http://www.dixongroup.net
Re: Building php4 - Can't load libiconv.so.4.0
Here's a perfect example of what I'm talking about. I uninstalled php4, libiconv, gettext, etc., and tried to install php5 instead. # pkg_add php5-core-5.0.4p0 php5-core-5.0.4p0:libiconv-1.9.2p1: complete php5-core-5.0.4p0:gettext-0.10.40p3: complete /usr/local/bin/xmlcatalog: can't load library 'libiconv.so. 4.0'*| 100% php5-core-5.0.4p0:libxml-2.6.16p5: complete php5-core-5.0.4p0: complete --- libxml-2.6.16p5 --- system(/bin/sh, -c, /usr/local/bin/xmlcatalog --create --noout /var/ db/xmlcatalog) failed: 1024 snip Weird, no? -- Jason Dixon DixonGroup Consulting http://www.dixongroup.net
Re: Building php4 - Can't load libiconv.so.4.0
On Feb 4, 2006, at 3:48 PM, steven mestdagh wrote: On Sat, Feb 04, 2006 at 10:48:53AM -0500, Jason Dixon wrote: Here's a perfect example of what I'm talking about. I uninstalled php4, libiconv, gettext, etc., and tried to install php5 instead. # pkg_add php5-core-5.0.4p0 php5-core-5.0.4p0:libiconv-1.9.2p1: complete php5-core-5.0.4p0:gettext-0.10.40p3: complete /usr/local/bin/xmlcatalog: can't load library 'libiconv.so. 4.0'*| 100% php5-core-5.0.4p0:libxml-2.6.16p5: complete php5-core-5.0.4p0: complete --- libxml-2.6.16p5 --- system(/bin/sh, -c, /usr/local/bin/xmlcatalog --create --noout /var/ db/xmlcatalog) failed: 1024 snip and you do have /usr/local/lib/libiconv.so.4.0, right? if so, then is your library search path perhaps broken? # ls -l /usr/local/lib/libiconv.* -rw-r--r-- 1 root bin 998520 Sep 2 12:38 /usr/local/lib/libiconv.a -r--r--r-- 1 root bin 780 Sep 2 12:38 /usr/local/lib/libiconv.la -r--r--r-- 1 root bin 1005390 Sep 2 12:38 /usr/local/lib/ libiconv.so.4.0 Yeah, it turned out to be something with my library search path. I haven't had to fiddle with that since, well... a really long time. I'm not sure how it got all out of whack. I have another web/ mailserver with a ton of packages installed and no customization to shlib_dirs or LD_LIBRARY_PATH at all. I've gone ahead and set LD_LIBRARY_PATH for now, and set shlib_dirs in my rc.conf.local for the next reboot. Thanks, -- Jason Dixon DixonGroup Consulting http://www.dixongroup.net
Building php4 - Can't load libiconv.so.4.0
I'm trying to build php4 with extensions, but it keeps crashing with the following error: === Faking installation for php4-core-4.4.0p0 install -d -o root -g bin -m 755 /usr/ports/www/php4/core/w-php4- core-4.4.0p0/fake-i386/usr/local/lib/php Installing PEAR environment: /usr/ports/www/php4/core/w-php4- core-4.4.0p0/fake-i386/var/www/pear/ /usr/ports/www/php4/core/w-php4-core-4.4.0p0/php-4.4.0/sapi/cli/php: can't load library 'libiconv.so.4.0' *** Error code 4 snip I installed a new ports tree, but that hasn't made any difference. I downloaded and installed the packages from FTP, but they also fail with a can't load libiconv.so.4.0 error when running php or pear. Any suggestions? This is a 3.8 -release GENERIC server here, only used for some monitoring duties. I'm sure I'm missing something stupid, but I've got a head cold and can't think straight. ;-) Thanks, -- Jason Dixon DixonGroup Consulting http://www.dixongroup.net
Re: Building php4 - Can't load libiconv.so.4.0
Emmanuel Jarri is having the same problem with libiconv (just sent to ports@), maybe they are related? snip I tried to compile vlc on my own, from the sources availables on videolan.org: I've tar -xzvf vlc-0.8.4a.tar.gz, and tried in the extracted folder: ./configure --prefix=/usr --enable-wxwindows as indicated in the INSTALL file. It failed, telling me that libiconv is needed to use vlc. But libiconv was present, and even with updating it, it told me the same. How could I help wxWidgets being upgraded to 2.6 ? Thanks. snap -- Felipe Brant Scarel PATUX/OpenBSD Project Leader (http://www.patux.cic.unb.br)