вс, 19 авг. 2018 г. в 16:20, TalGloz <glozman...@gmail.com>: > > I'll try it later when I'm home. Is there a reason that you are linking like > this > > $(CXX) -Wl,--no-undefined -shared -o seal_diff_cpp.so $(LDFLAGS) $(LDLIBS) > seal_diff_cpp.o > > And not like this? > > $(CXX) -Wl,--no-undefined -shared -o seal_diff_cpp.so seal_diff_cpp.o > $(LDFLAGS) $(LDLIBS) If I recall correctly there were some problems with ordering arguments of the linker that are specified upon calling g++. So it is better to specify such arguments in the rest of the command. But probably this problem is already solved and there is no difference anymore.
- Linker errors while creating a PostgreSQL C extension func... TalGloz
- Re: Linker errors while creating a PostgreSQL C exten... Dmitry Igrishin
- Re: Linker errors while creating a PostgreSQL C e... TalGloz
- Re: Linker errors while creating a PostgreSQL... Dmitry Igrishin
- Re: Linker errors while creating a Postgr... TalGloz
- Re: Linker errors while creating a P... Dmitry Igrishin
- Re: Linker errors while creating... TalGloz
- Re: Linker errors while crea... Dmitry Igrishin
- Re: Linker errors while crea... TalGloz
- Re: Linker errors while crea... Dmitry Igrishin
- Re: Linker errors while crea... Tom Lane
- Re: Linker errors while crea... TalGloz
- Re: Linker errors while crea... Dmitry Igrishin
- Re: Linker errors while creating a PostgreSQL... Daniel Verite
- Re: Linker errors while creating a Postgr... TalGloz
- Re: Linker errors while creating a P... Tom Lane
- Re: Linker errors while creating... TalGloz
- Re: Linker errors while crea... Laurenz Albe
- Re: Linker errors while crea... TalGloz
- Re: Linker errors while creating a P... Daniel Verite