Ubuntu error with 3210000

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Ubuntu error with 3210000

raanan barzel
With sqlite 3.21.0000 embedded in my application, building on Windows
(10, using VS 2017 Community) is error-free.

However, building the same application on Ubuntu 16.04 in Release mode
is error-free, while Debug mode produces errors:

*** /usr/bin/ld: GCCDebug/sqlite3.o: undefined reference to symbol
'dlclose@@GLIBC_2.2.5'

*** //lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing
from command line

Not being deeply involved with Linux, I have no idea what needs to be
done. Any advice ?

Thanks


---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus

_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Ubuntu error with 3210000

petern
Are your linking switches the same in both release and debug?  In
particular, -ldl (dynamic libraries) ?

On Mon, Dec 25, 2017 at 5:31 AM, raanan barzel <[hidden email]> wrote:

> With sqlite 3.21.0000 embedded in my application, building on Windows (10,
> using VS 2017 Community) is error-free.
>
> However, building the same application on Ubuntu 16.04 in Release mode is
> error-free, while Debug mode produces errors:
>
> *** /usr/bin/ld: GCCDebug/sqlite3.o: undefined reference to symbol
> 'dlclose@@GLIBC_2.2.5'
>
> *** //lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing
> from command line
>
> Not being deeply involved with Linux, I have no idea what needs to be
> done. Any advice ?
>
> Thanks
>
>
> ---
> L'absence de virus dans ce courrier électronique a été vérifiée par le
> logiciel antivirus Avast.
> https://www.avast.com/antivirus
>
> _______________________________________________
> sqlite-users mailing list
> [hidden email]
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users