forked from jamierumbelow/sassphp
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Missing stdc++ in during linking? #4
Comments
I was able to resolve this in my case by adding the flag to the LDFLAGS in config.m4:
Seems to work, but I have no clue if thats the right place to be putting that. |
my
Edit: Never mind. Apparently I was missing g++ and/or build-essentials. |
grubdragon
added a commit
to grubdragon/lanterndb
that referenced
this issue
Aug 25, 2023
On compiling postgresql and lanterndb from source from scratch, without installing postgresql core, the lanterndb extension compiles and installs, but it is unable to execute `CREATE EXTENSION lanterndb;` with the error `undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE`. This is due to libstc++ not being linked. Switching the LINKER_LANGUAGE to CXX allows the build system to use a C++ linker and solves the issue. References: - sensational/sassphp#4 - Iorethan/opencv_pfm#1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"make test" failed for me (running on Ubuntu 12.10) with
I suspect this may be similar to...
kjdev/php-ext-snappy#1
After some digging I re-ran the libtool link command with an additional "-lstdc++" thus...
Followed by the libtool install...
When I reran make-test it all worked fine.
I appreaciate this isn't the final solution - I guess there is some magic needs adding to the .m4 file or some such but I'm afraid this is at the very edge of my understanding. I hope this helps.
The text was updated successfully, but these errors were encountered: