running dynamic shared library modul with libgfl under linux

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

ramington
Posts: 3
Joined: Wed Jun 25, 2008 3:59 pm

running dynamic shared library modul with libgfl under linux

Post by ramington »

sorry for a maybe stupid question and maybe it should be placed in another forum but:

-I use already libgfl v2.54 for windows everything fine
-now I tested in with linux -> compiling -> ok (I just include the header file and no other inofmration no lib or so file is added to the makefile)

-I start myApp which dynamically loads my_special_image_loading.so module which uses the libgfl
-now I got the error:
shared-library-exception: couldn't load library: /home/..../my_special_image_loading.so undefined symbol: gflFreeBitmap

-the LD_LIBRARY_PATH variable I set to the directory I start all my stuff and there is also the libgfl.so.2.80 file

-I think I know to little about the linux linking concept

-what do I need to do, to get the library running?

Thx for any help,
Peter
ramington
Posts: 3
Joined: Wed Jun 25, 2008 3:59 pm

I got it

Post by ramington »

-I need to specify the library path -L... and gfl as lib explicit (-lgfl)

-AND rename the libgfl.so.80 in libgfl.so

no it works :o)

I thought the version stuff works without renaming the so (as with av_format) ..