Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » .so: file not recognized:
.so: file not recognized: [message #1688448] Fri, 20 March 2015 18:27 Go to next message
Jarkko Heikkinen is currently offline Jarkko HeikkinenFriend
Messages: 3
Registered: March 2015
Junior Member
Hi,

I'm trying to compile my code but I am getting this "file not recongnized" error. I have no clue why it is giving that error.

Building target: WeatherStation
Invoking: Cross G++ Linker
arm-linux-gnueabihf-g++ -o "WeatherStation" ./MCP3002SPI.o ./MySQL.o ./main.o -lbcm2835 -lmysqlpp -lmysqlclient
/home/jake/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/lib/libmysqlpp.so: file not recognized:
collect2: error: ld returned 1 exit status
make: *** [WeatherStation] Virhe 1

I have added the mysqlpp library to the gross g++ linker.
Re: .so: file not recognized: [message #1689439 is a reply to message #1688448] Mon, 23 March 2015 15:27 Go to previous messageGo to next message
Jarkko Heikkinen is currently offline Jarkko HeikkinenFriend
Messages: 3
Registered: March 2015
Junior Member
I'm no sure what I did but now I am getting this kind of error:

make all
Building target: WeatherStation
Invoking: Cross G++ Linker
arm-linux-gnueabihf-g++ -o "WeatherStation" ./MCP3002SPI.o ./MySQL.o ./main.o -lbcm2835 -lmysqlclient -lmysqlpp
/home/jake/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: can't find target -lmysqlclient
collect2: error: ld returned 1 exit status
make: *** [WeatherStation] Error 1
Re: .so: file not recognized: [message #1690390 is a reply to message #1689439] Fri, 27 March 2015 05:36 Go to previous messageGo to next message
Alastair Brian is currently offline Alastair BrianFriend
Messages: 7
Registered: March 2015
Junior Member
Jarkko Heikkinen!
You have got the solution?
Re: .so: file not recognized: [message #1690554 is a reply to message #1690390] Sat, 28 March 2015 17:43 Go to previous message
Jarkko Heikkinen is currently offline Jarkko HeikkinenFriend
Messages: 3
Registered: March 2015
Junior Member
No I haven't.
Previous Topic:Eclipse will not run after downloading Cygwin64.
Next Topic:execution problem
Goto Forum:
  


Current Time: Fri Apr 26 02:26:30 GMT 2024

Powered by FUDForum. Page generated in 0.03092 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top