RE: Help needed to build shared library with libtool

2011-10-17 Thread David Aldrich
Hi Peter I have tried using just g++ (no libtool) and the link succeeds. On this occasion it seems easiest for me just not to use libtool. Thanks for your help and advice. Best regards David ___ https://lists.gnu.org/mailman/listinfo/libtool

RE: Help needed to build shared library with libtool

2011-10-14 Thread David Aldrich
> Your object files are created without using libtool? Yes, just g++. > > > ln: creating symbolic link `libGUI.so.0': Operation not supported > > make: *** [libGUI.so] Error 1 > > That's a new one for me, you snipped the ln command that fails though. > > I don't know how much you care about po

Re: Help needed to build shared library with libtool

2011-10-14 Thread Peter O'Gorman
On 10/14/2011 08:45 AM, David Aldrich wrote: Hi Peter Thanks for your reply. -shared is not a libtool flag Oh, that's weird! We've been using that option for building other shared libraries for a long time. Yes, and older libtools used to pass it along to the compiler driver, so on system

RE: Help needed to build shared library with libtool

2011-10-14 Thread David Aldrich
Hi Peter Thanks for your reply. > -shared is not a libtool flag Oh, that's weird! We've been using that option for building other shared libraries for a long time. > does it work if you do: > > libtool --mode=link g++ -o libGUI.la -rpath /usr/local/lib > That doesn't work, but the result i

Re: Help needed to build shared library with libtool

2011-10-14 Thread Peter O'Gorman
On 10/14/2011 02:10 AM, David Aldrich wrote: Hi I am using libtool in a makefile to create a shared library containing my application code, which also links to wxWidgets libraries. As a consequence of changing both platform (including gcc version) and wxWidgets packages, my makefile ceases t