Hi, I'm trying to statically link poco on Ubuntu.
I've encountered the same issue as described in Static build link error - ID: 3527134
Does that mean POCO on linux can't be statically linked?
My error is:
/usr/local/lib/libPocoFoundation.a(Path.o): In function `Poco::PathImpl::homeImpl()':
Path.cpp:(.text+0x218): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/local/lib/libPocoNet.a(DNS.o): In function `Poco::Net::DNS::hostByName(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
DNS.cpp:(.text+0x385): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/local/lib/libPocoNet.a(SocketAddress.o): In function `Poco::Net::SocketAddress::resolveService(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
SocketAddress.cpp:(.text+0x7c4): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
collect2: ld returned 1 exit status





