compiling GTK for sh4 platform...library issues
I am trying to compile GTK(2.10.14) over directfb for sh4 platform. I have all the dependencies in place. When I configure and try to 'make' I get the following:
/usr/lib/libjpeg.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status I know where the correct file is located but don't know how to specify it's path in the makefile. Please help. Thanks! |
I just renamed the libjpeg.so in /usr/lib and then the compiler picked the correct library from the other(correct) path. So now I'll rephrase the question. How to configure the makefile so that user libraries take precedence over system libraries?
|
Welcome to LQ.
The usual way to do it goes like this, in a terminal window, with the command : Code:
'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/<path-to-sh4>/lib:/<other-sh4-path>/lib:/<third-sh4-path>/lib' ( :/lib:/usr/lib:/usr/local/lib etc.) until you close the terminal window. ( The above command should be done before running ./configure and / or make in that terminal.) ..... |
All times are GMT -5. The time now is 06:17 AM. |