Hello William I am compiling on Ubuntu 6.10 and it works on REALbasic 2011 on Ubunto 12.04 (before I was linking anything)
On REALbasic 2012 it does not work when run it on 12.04 having linked it with LIBS = -L$(GTKLIBPREFIX) -L/usr/X11R6/lib -lgtk-x11-2.0 -rdynamic -lgmodule -lglib-2.0 -ldl -lm (shortened it a bit from earlier post to minimum it needs to run on 6.10) So question is am I linking it all wrong ? since I am on lowest possible distro……. On 18.10.2012, at 16:40, William Yu wrote: > It depends what version of gtk/gdk you're linking against compared to what > the user has on their system. For example if you compiled/linked on Ubuntu > 12.04 and the user was on Ubuntu 10.04 he would get an error because you've > linked against a newer version of gtk/gdk which an older distro would not > normally have. Your best bet is to link on the lowest supported distro > (Ubuntu 6.10), or do what Christian recommended and load it dynamically. > > On Thu, Oct 18, 2012 at 4:52 AM, Björn Eiríksson <[email protected]> wrote: > >> I still got at least one user it seems where load of a plugin on Linux >> does not work even with the new linking. >> >> So am I linking it incorrectly somehow ?: >> >> LIBS = -L$(GTKLIBPREFIX) -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 >> -rdynamic -lgmodule -lglib-2.0 -ldl -lXi -lXext -lX11 -lm >> >> all: $(OBJS) >> $(CC) $(CFLAGS) $(LIBS) -shared -o Linux\ Build/EHDateControl.so >> $(OBJS128) >> >> >> -- >> ______________________________________________________________________ >> Björn Eiríksson [email protected] >> Einhugur Software >> http://www.einhugur.com/ >> >> For support: [email protected] >> To post on the maillist: [email protected] >> >> >> >> >> _______________________________________________ >> Unsubscribe or switch delivery mode: >> <http://www.realsoftware.com/support/listmanager/> >> >> Search the archives: >> <http://support.realsoftware.com/listarchives/lists.html> >> > > > > -- > William Yu > Real Software, Inc. > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives: > <http://support.realsoftware.com/listarchives/lists.html> -- ______________________________________________________________________ Björn Eiríksson [email protected] Einhugur Software http://www.einhugur.com/ ______________________________________________________________________ Einhugur Software has sold its products in 87 countries world wide. ______________________________________________________________________ For support: [email protected] To post on the maillist: [email protected] _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
