Slackware-current: gcc-gdc just lost libgphobos.a and libgdruntime.a
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Slackware-current: gcc-gdc just lost libgphobos.a and libgdruntime.a
Sometime this past week the gcc-gdc-9.2.0 package in Slackware-current lost the static libraries libgphobos.a and libgdruntime.a. Even simple D programs will not link (unless perhaps dynamically with the *.so versions of the above libraries, which remain).
/usr/bin/ld: cannot find -lgphobos
/usr/bin/ld: cannot find -lgdruntime
collect2: error: ld returned 1 exit status
My locate database has /usr/lib/libgphobos.a and /usr/lib/libgdruntime.a but these files do not appear in the filesystem or in the gcc-gdc package file list (I updated current last night). Did you use a different command?
Ah, no wonder it was working here... it seems my machine still has the static libraries although they were removed from the gcc-gdc package. I'd previously removed the static libraries from gcc-go and it continued to work as expected, but it seems there's an issue with the shared D libraries. Not sure why they don't work when the static libraries are missing, but I'll go ahead and add the static libraries back. They'll be the biggest static libraries we ship, but for now it looks like we'll have to take that hit.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.