List:MySQL++« Previous MessageNext Message »
From:Martin Maurer Date:January 14 2012 5:46pm
Subject:Re: Need help for cross-compiling mysql++-3.1.0 on Ubuntu (32 bit, x86) for ARM Linux
View as plain text  
Hello Jonathan et all,

>> I copied libs and header files for libz, added CFLAGS and LDFLAGS to 
>> point
>> to them and "configure" was successful.
>> And even "make" was successful.
>
> Excellent :)

may i come back with an additional error please, which i have with my 
program where i added mysql++:
I built a pgm which uses the (self-built) mysql++ and some other libaries 
needed by mysql++ (e.g. libz).

When i now start the program on ARM Linux board i get the following error 
messages:

root@arm:~# ./mypgm
./mypgm: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found 
(required by ./mypgm)
./mypgm: /usr/lib/libstdc++.so.6: version `CXXABI_ARM_1.3.3' not found 
(required by ./mypgm)
root@arm:~# ls /usr/lib/libstdc\+\+.
/usr/lib/libstdc++.a          /usr/lib/libstdc++.so.6
/usr/lib/libstdc++.la         /usr/lib/libstdc++.so.6.0.10
/usr/lib/libstdc++.so

I have libstdc++.so.6 and it seems it was already used.
But somehow libstdc++ does not contain GLIBCXX_3.4.14 nor CXXABI_ARM_1.3.3.
I already tried to update libstdc++, but i already have latest version.

I also tried to use a different cross compiler version (an older one) to get 
rid of the error message,
but error and version number in error messages remain the same.

Do i need to install additional libs / packages ? Can someone shed some 
light, if the libstdc++ is the problem,
or that libstdc++ needs something additional ?

Best regards,

Martin



Thread
Need help for cross-compiling mysql++-3.1.0 on Ubuntu (32 bit, x86) for ARM LinuxMartin Maurer13 Jan
  • Re: Need help for cross-compiling mysql++-3.1.0 on Ubuntu (32 bit,x86) for ARM LinuxJonathan Wakely13 Jan
    • Re: Need help for cross-compiling mysql++-3.1.0 on Ubuntu (32 bit, x86) for ARM LinuxMartin Maurer13 Jan
      • Re: Need help for cross-compiling mysql++-3.1.0 on Ubuntu (32 bit,x86) for ARM LinuxJonathan Wakely13 Jan
        • Re: Need help for cross-compiling mysql++-3.1.0 on Ubuntu (32 bit, x86) for ARM LinuxMartin Maurer13 Jan
          • Re: Need help for cross-compiling mysql++-3.1.0 on Ubuntu (32 bit,x86) for ARM LinuxJonathan Wakely13 Jan
            • Re: Need help for cross-compiling mysql++-3.1.0 on Ubuntu (32 bit, x86) for ARM LinuxMartin Maurer14 Jan
              • Re: Need help for cross-compiling mysql++-3.1.0 on Ubuntu (32 bit,x86) for ARM LinuxJonathan Wakely14 Jan
                • Re: Need help for cross-compiling mysql++-3.1.0 on Ubuntu (32 bit, x86) for ARM LinuxMartin Maurer15 Jan
  • Re: Need help for cross-compiling mysql++-3.1.0 on Ubuntu (32 bit, x86) for ARM LinuxPaul15 Jun
    • Re: Need help for cross-compiling mysql++-3.1.0 on Ubuntu (32 bit,x86) for ARM LinuxWarren Young15 Jun