Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] not a shared executable

Hi Frank,

as long as you use gcc on windows, and/or have a separate target for Cygwin, there is no problem with also supporting windows in autotools.

best regards,

René Jansen.

On 22 aug. 2013, at 19:51, Frank Pagliughi <fpagliughi@xxxxxxxxxxxxxx> wrote:

Are there any thoughts on creating a more portable build system for the C library?  On Linux/Unix, a traditional automake/autoconf solution that supports cross-compiling usually makes these problems trivial for GCC-based cross compilers. I started hacking something together that I was able to use to compile the library for the specific BeagleBone and Raspberry Pi versions that I was testing.

But I suppose some other systems might do all this and encompass Windows and other targets as well?


On 08/22/2013 09:00 AM, Ian Craggs wrote:
Hi Jan,

I can check those libraries later.  But, since I created them I realized that there are several Linux distributions that are used on the Raspberry Pi, and this library was built with the one I installed on my Pi, which is Debian I think. 

Those libraries don't necessarily work with other Linux distributions, or even a different version of the same distribution.  The only sure way will be to build the libraries yourself, I think. 

I think we ought to look to getting the Paho MQTT C client libraries into the Linux distributions.


On 08/22/2013 12:37 PM, jan.bogaerts@xxxxxxxxxx wrote:


I'm trying to use the prebuild paho libraries for the raspberry-pi, but when I want to run the application, it can't load the lib. When I check the library with the ldd command, it says that the files aren't shared executables, so it can't load them as shared libraries. Any suggestions?




paho-dev mailing list

paho-dev mailing list

paho-dev mailing list

Back to the top