Re: missing libraries for static linked libcurl
Date: Fri, 6 Dec 2019 08:31:06 -0800
Thank you for your reply & comments.
On 2019-12-05 2:57 p.m., Daniel Stenberg wrote:
> On Tue, 3 Dec 2019, acorn12 via curl-library wrote:
>
>> When I compile it under Mint 19.2 and try the app under Mint on the
>> machine it is compiled on it runs without issues.
>>
>> On other machines (one Mint 18.2, the other not yet sure of the
>> specific version of Linux), I get various errors about missing
>> libraries, such as
>
> Are you distributing the same libcurl binary shared library to the
> different distros?
That is the issue I am still struggling with. I had assumed that by
packaging libcurl statically, I would get around the need for worrying
about any other libraries to be distributed. This my first real attempt
at building & sharing a Linux version of my app.
>
>> If I copy the file libcurl.so.4 to the same directory as the
>> executable, I end up with errors
>
> On Linux, apps don't load shared libraries from the same dirs as the
> applications just because they happen to be there, you need to also
> change the path for where ld.so finds shareed libraries.
So I found out and I am still working on sorting all that out.
And I have by now, given up on the idea of linking libcurl statically
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-12-06