Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails due to moved libstdc++.la #906

Closed
ShalokShalom opened this issue May 3, 2024 · 6 comments
Closed

build fails due to moved libstdc++.la #906

ShalokShalom opened this issue May 3, 2024 · 6 comments

Comments

@ShalokShalom
Copy link

I try to build snapper for a good while, and dont seem to be able to resolve this on my own.

libtool: warning: '/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/libstdc++.la' seems to be moved

My libstdc++.la sits at /usr/lib/libstdc++.la and I dont find any recent issue on this online.

Here is my complete build log.

Hope you can help me :/

@aschnell
Copy link
Member

aschnell commented May 3, 2024

The moved libstdc++ is only a warning. The error is /usr/bin/ld: cannot find -ltinfo: No such file or directory.

Check if ncurses development files are installed. Maybe use -lncurses instead of -ltinfo in Makefile.am.

@ShalokShalom
Copy link
Author

ShalokShalom commented May 3, 2024

Thanks! Those are the ncurses files I have installed (listed under "Files listing")

And when I change /client/utils/Makefile.am (there are a lot of different Makefile.am, and only this one contains -ltinfo) to -lncurses, it rewrites itself back to -ltinfo, when I build it.

@aschnell
Copy link
Member

aschnell commented May 7, 2024

Makefile.am should not rewrite itself back. Makefile.in and Makefile are generated from Makefile.am but Makefile.am is the source. How are you starting the build?

@ShalokShalom
Copy link
Author

https://dpaste.org/SyQts

@aschnell
Copy link
Member

aschnell commented May 7, 2024

If that is some kind of script that also unpacks the sources then you likely have to create a patch that modifies Makefile.am. Maybe first try to build without such a setup.

@aschnell
Copy link
Member

No respond.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants