[odb-users] Unresolved symbol - ODB 2.5.0-b.27 - PostgreSQL

Boris Kolpackov boris at codesynthesis.com
Tue Aug 13 10:51:21 EDT 2024


Lloyd <lloydkl.tech at gmail.com> writes:

> I am trying out ODB 2.5 with PostgreSQL. When I link the application, I am
> getting a link error.
> 
> unresolved external symbol "public: static enum
> odb::pgsql::details::endian_traits::endian const
> odb::pgsql::details::endian_traits::host_endian"
> 
> I am using ODB in shared mode by setting compiler definition "LIBODB_SHARED"

I assume this is Windows. Try also adding LIBODB_PGSQL_SHARED.



More information about the odb-users mailing list