Error after installing DMD v2.063
Ellery Newcomer
ellery-newcomer at utulsa.edu
Sun Jun 2 19:09:14 PDT 2013
On 06/02/2013 06:20 PM, Jonathan M Davis wrote:
>
> I don't believe that it's not an ldconfig problem. It's the fact that there's a
> libphobos2.so and not a libphobos2.so.0.63. It's the exact same problem that
> the rpm and deb files are having. dmd.conf already makes it so that the linker
> looks in the right place.
>
> - Jonathan M Davis
>
Aha! you need to put -defaultlib=libphobos2.so for compiling the
executable too!
and now it complains about not having libcurl-gnutls, which doesn't even
exist in fedora, so
ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl-gnutls.so.4
then I get
/home/ellery/Downloads/dmd2/linux/bin64/../lib64/libphobos2.so:
undefined reference to `curl_global_init at CURL_GNUTLS_3'
/home/ellery/Downloads/dmd2/linux/bin64/../lib64/libphobos2.so:
undefined reference to `curl_easy_cleanup at CURL_GNUTLS_3'
/home/ellery/Downloads/dmd2/linux/bin64/../lib64/libphobos2.so:
undefined reference to `curl_slist_append at CURL_GNUTLS_3'
/home/ellery/Downloads/dmd2/linux/bin64/../lib64/libphobos2.so:
undefined reference to `curl_easy_init at CURL_GNUTLS_3'
/home/ellery/Downloads/dmd2/linux/bin64/../lib64/libphobos2.so:
undefined reference to `curl_easy_pause at CURL_GNUTLS_3'
/home/ellery/Downloads/dmd2/linux/bin64/../lib64/libphobos2.so:
undefined reference to `curl_slist_free_all at CURL_GNUTLS_3'
/home/ellery/Downloads/dmd2/linux/bin64/../lib64/libphobos2.so:
undefined reference to `curl_easy_duphandle at CURL_GNUTLS_3'
/home/ellery/Downloads/dmd2/linux/bin64/../lib64/libphobos2.so:
undefined reference to `curl_easy_strerror at CURL_GNUTLS_3'
/home/ellery/Downloads/dmd2/linux/bin64/../lib64/libphobos2.so:
undefined reference to `curl_easy_perform at CURL_GNUTLS_3'
/home/ellery/Downloads/dmd2/linux/bin64/../lib64/libphobos2.so:
undefined reference to `curl_global_cleanup at CURL_GNUTLS_3'
/home/ellery/Downloads/dmd2/linux/bin64/../lib64/libphobos2.so:
undefined reference to `curl_easy_setopt at CURL_GNUTLS_3'
So I concede the point about ldconfig (I'm thinking what I used was
LD_LIBRARY_PATH)
hey! the rpm behaves the same way! Maybe building a fedora package on
ubuntu is in fact a terrible idea!
More information about the Digitalmars-d
mailing list