Hello, thought some more knowledgeable linux types might know this...
I am trying to compile a shared library. I can build and use the library perfectly fine. However, I have a problem with it that I would like to try and reslove.
The particular library in question is the SDL_image package. This (understandably) has a dependency on the main SDL library. I untar the source and then do the usual congifure/make/make install process to create the library, which I include and load dynamically (through dlopen()) in my program.
The issue I have is with the filename that it is created to use for the SDL library. When I run ldd, my libSDL_image.so file has a dependency on "libSDL-1.2.so.0". So that I do not have to create extra softlinks to that, I would prefer that it used the filename "libSDL.so" for this dependency.
Is there a way that I can create the library file such that is has a dependency on "libSDL.so" rather than the longer-winded name?
Would (or should?) this be a configure option, maybe a makefile option, something to do with ldconfig?
Is this possible?
Apologies if this is too specific for this forum or its in the wrong area, but maybe you can help anyway