Page 1 of 1

cgi.bin error (missing folder, maybe a bug?) and phpmyadmin

PostPosted: 30. December 2004 12:04
by FrancescoRossi
I'm trying to install a cgi script. I've been able to correctly setup all the permissions and configuration to the perl path (which is /opt/lampp/bin/perl right?). Now when I run the script I get this error:
Can't load '/opt/lampp/lib/perl5/site_perl/5.8.4/i686-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: libmysqlclient.so.12: cannot open shared object file: No such file or directory at /opt/lampp/lib/perl5/5.8.4/i686-linux/DynaLoader.pm line 230. at easyhost.setup line 11 ...I went to the perl directory (under lib and I've noticed that the dir DBD does not exist...

Second thing: when trying to access to phpmyadmin, the connection is really slow and after the home, no other page displays...(e.g. i try to see runtime informations but the connection falls down,like it's refused)

PostPosted: 30. December 2004 20:24
by FrancescoRossi
ok, just to understand...
am i not clear enough or it is just my name that make you desist in answering me? :lol:

PostPosted: 31. December 2004 00:09
by Kristian Marcroft
Hi,

sorry for not answering ealier...
Could you please tell me which Version of XAMPP you are using?

I have read this thread a couple of times...
but didn't have time to locate the Problem...
Sorry for the inconvinience...

Sorry
So long
KriS

PostPosted: 31. December 2004 14:05
by FrancescoRossi
Kristian, take it easy, I was just joking! I know you guys work hard!

The version of Xampp is the latest one.

I'll resume the problem:
-i try to install a cgi script
-the script doesn't setup correctly and ends up in stating this:

Can't load '/opt/lampp/lib/perl5/site_perl/5.8.4/i686-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: libmysqlclient.so.12: cannot open shared object file: No such file or directory at /opt/lampp/lib/perl5/5.8.4/i686-linux/DynaLoader.pm line 230

-I've checked so the structure of xampp in order to verify if the folder and the .so file "DBD/mysql/mysql.so" were existing. but I haven't found them.

I supposed so that if a script internal to xampp (DynaLoader.pm ) was referring to this folder, and the folder didn't exist this could be a bug.


The second problem I have is concerning phpmyadmin's speed. ON local network too is very slow in loading (and it doesn't complete it many times). Moreover when I try to access the database the connection becomes so slow that it times out. I've checked mysql's status and it is working properly.

PostPosted: 31. December 2004 16:51
by Kristian Marcroft
Hi,

if i am not wrong this is a bug in the recent XAMPP Version.
I have just reported it and hope to have it confirmed.

So long
KriS

PostPosted: 31. December 2004 18:04
by Kristian Marcroft
Hi,

as confirmed, the Bug has been present in the current and last Version of XAMPP.
We will try to fix this as soon as possible, not tonight/tomorrow though.
You could try to create a symlink like this:

ln -s /opt/lampp/lib/mysql/libmysqlclient.so.14 /opt/lampp/lib/mysql/libmysqlclient.so.12


So long
KriS

PostPosted: 01. January 2005 23:23
by FrancescoRossi
Thank you!

Anyways could somebody explain me a little bit more about symlinks? what are they? Since I'm pretty new to linux and this system i don't understand them completely!

Are they a kind of shortcuts?

anways:

HAPPY NEW YEAR EVERYBODY!!

PostPosted: 01. January 2005 23:34
by Kristian Marcroft
Hi,

try reading this:
http://www.mit.edu:8001/people/nocturne ... links.html

a Symlinc is something simular to a "Shortcut".
It's a redirect of a file.

So long
KriS

PostPosted: 03. January 2005 10:34
by FrancescoRossi
OK I suppose it has to be written in the console...will it remain in memory or everytime I have to reboot I'll have to write it down again?

PostPosted: 05. January 2005 18:31
by FrancescoRossi
I tried to make the simlink work but I haven't understood how to manage it?
what paths should I use to make it work with my script?