Index: [thread] [date] [subject] [author]
  From: Rodolphe Ortalo <Rodolphe.Ortalo@cert.fr>
  To  : ggi-develop@eskimo.com
  Date: Mon, 07 Jun 1999 14:55:45 +0200

Re: FW: Help, i can't compil my prog.

> Date: Sun, 06 Jun 1999 22:33:51 +0200
> From: Axys <frederic.dogimont@wanadoo.fr>
> To: tanner@ggi-project.org
> Subject: Help, i can't compil my prog.

>     (sorry, I'am french and i have a very bad english)

So do I.

> My probleme is when I execute this program, there is an error:
> error in loading shared libraries: libggi.so.2: cannot open shared object
> file: no such file or directory.
> The libggi.so.2 exist in the /usr/local/lib, it's a link to
> libggi.so.2.0.0. When I execute the demos send with GGIlib, they works
> perfectly...

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib

before running your program should help you (or more precisely
the dynamic linker) to find the library.

Rodolphe

PS: En plus, tu peux aussi ajouter le nom de repertoire
'/usr/local/lib' dans le fichier de configuration de
l'editeur de lien dynamique: /etc/ld.so.conf pour ne pas
avoir a refaire la manipulation et pour que ld.so trouve tout
seul la librairie.

PPS: Even those that don't understand French should have
understood what I say above. ;-))

Index: [thread] [date] [subject] [author]