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?

Frank

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.

Ian

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

Hi,

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 libmqttv3c.so 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?

 

Cheers,

Jan.



_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev



_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev

_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev


Back to the top