Click to See Complete Forum and Search --> : readline: undefined symbol BC


Anon
01-08-2001, 04:14 AM
I have an installation script for PHP/Apache etc. made for SuSE 7.0 Pro. This has worked fine until I installed a new SuSE7.0 machine and instead of using the bundled mysql database, I built mysql from the sources from my installscript. Everything compiles fine, but when I start Apache I get this error:

/lib/libreadline.so.4: undefined symbol: BC

This is the only libreadline I have and it's identical to the one on my working machine.

I guess this has to do with mysql but I don't know where to start looking.

Using PHP4.0.3pl1, Apache 1.3.14, latest mysql and a lot other other stuff.

Anyone?

/Johan

Anon
02-22-2001, 05:09 AM
Hi Johann!

I had the same problem and found the solution:

--with-readline

you have to include this phrase into your php-configure-command

this made it work with my machine

also important:

extent /etc/ld.conf.so with '/usr/lib' and run 'ldconfig'
(mcrypt-libs in /usr/lib)

don´t forget to 'make clean' before you run configure...

hth, Chris

Johan Grönvall wrote:
-------------------------------
I have an installation script for PHP/Apache etc. made for SuSE 7.0 Pro. This has worked fine until I installed a new SuSE7.0 machine and instead of using the bundled mysql database, I built mysql from the sources from my installscript. Everything compiles fine, but when I start Apache I get this error:

/lib/libreadline.so.4: undefined symbol: BC

This is the only libreadline I have and it's identical to the one on my working machine.

I guess this has to do with mysql but I don't know where to start looking.

Using PHP4.0.3pl1, Apache 1.3.14, latest mysql and a lot other other stuff.

Anyone?

/Johan