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>
