Re: [Libjpeg-turbo-users] Changing the name of the built library from libjpeg on Linux
SIMD-accelerated libjpeg-compatible JPEG codec library
Brought to you by:
dcommander
|
From: DRC <dco...@us...> - 2016-11-23 15:21:51
|
Why not just install it under /opt/libjpeg-turbo? That is the default install prefix precisely for this reason. You can then manipulate LD_LIBRARY_PATH to use libjpeg-turbo in /opt/libjpeg-turbo rather than libjpeg in /usr. If you really need to change the name, then change all instances of "libjpeg.la" and "libjpeg_la" in Makefile.am, but this is far from a supported configuration. One of the reasons why libjpeg-turbo uses the same library name as libjpeg is so it can be substituted at run time, which is why the default is to install it under /opt. On 11/23/16 4:52 AM, Bob wrote: > I'm interested in changing the name of the libjpeg.so library that gets > built so that it doesn't clash with other libraries called libjpeg that > are on my system. I'm afraid I don't know enough about the build process > to do this myself but if there was a way to have the library come out > being called libcustomjpeg.so for example that would be useful. Am > interested in doing this on Linux and I'm assuming that simply renaming > the libjpeg.so file is not sufficient. > > > Thanks in advance! |