"-lXinerama" is wrong, or?

Benedikt Meurer Benedikt.Meurer at unix-ag.uni-siegen.de
Fri May 9 20:39:27 CEST 2003


On Fri, 09, May 2003, Olivier Fourdan wrote:

> Hi Benny,

Hey Olivier,

> Couldn't we just link statically to libXinerama.a ?
> 
> It's just 4Kb on my system and that would be more "user friendly"... Not
> everybody has the root access to create the .so in /usr/X11R6/lib/
> 
> This way, we could also make Xinerama enabled by default when the lib 
> is present. 

I tried to do so, but it seems impossible to have this done in a portable
way. The work-around for non-root users is easy:

	1) create the .so file for you and put it somewhere (e.g. ~/.libs)
	2) include the path in LD_LIBRARY_PATH (and in LDFLAGS at compile
	   time)

Benedikt

-- 
NetBSD Operating system:                       http://www.NetBSD.org/
pkgsrc "Work in progress":                  http://pkgsrc-wip.sf.net/
XFce desktop environment:                        http://www.xfce.org/
German Unix-AG Association:                   http://www.unix-ag.org/



More information about the Xfce4-dev mailing list