Thread mysql: no connection (31 answers)
Opened by paidopoieo at 2006-02-22 04:04

paidopoieo
 2006-02-23 04:16
#34030 #34030
User since
2005-12-02
96 Artikel
BenutzerIn
[default_avatar]
hallo renee,
nein, eigentlich nicht, aber kannst du mir sagen wie ich das rausfinden kann, ob irgendetwas auf diesen pfad verweist.....

weiters hab ich bei meiner internetrecherche gefunden, falls dieser fehler auftritt, folgendes zu machen:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
 If Perl reports that it cannot find the ../mysql/mysql.so module, the problem is probably that Perl cannot locate the libmysqlclient.so shared library. You should be able to fix this problem by one of the following methods:

Compile the DBD::mysql distribution with perl Makefile.PL -static -config rather than perl Makefile.PL.

Copy libmysqlclient.so to the directory where your other shared libraries are located (probably /usr/lib or /lib).

Modify the -L options used to compile DBD::mysql to reflect the actual location of libmysqlclient.so.

On Linux, you can add the pathname of the directory where libmysqlclient.so is located to the /etc/ld.so.conf file.

Add the pathname of the directory where libmysqlclient.so is located to the LD_RUN_PATH environment variable. Some systems use LD_LIBRARY_PATH instead.

Note that you may also need to modify the -L options if there are other libraries that the linker fails to find. For example, if the linker cannot find libc because it is in /lib and the link command specifies -L/usr/lib, change the -L option to -L/lib or add -L/lib to the existing link command.


den ersten punkt kann ich nicht machen, da ich das modul mit perl -MCPAN -e 'shell' installiert habe...

mit der -L option hab ich nicht rausgefunden, wie das gemeint ist...
im ld.so.conf file hab ich den pfad folgendermassen hinzugefuegt /usr/lib
die classpath variable hab ich auch gesetzt und zwar folgendermassen:
Code: (dl )
export LD_RUN_PATH=$PATH:/usr/lib

ich hoffe das stimmt so.... ;)

View full thread mysql: no connection