Le 11.2.2013 09:10:15, Philipp Hahn a écrit :
> Hello,
> 
> Am Montag 11 Februar 2013, 08:03:12 schrieb Blindauer Emmanuel:
> > the flag is not present, here the current values:
> > 
> > CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
> > -Wformat- security -Werror=format-security
> > CPPFLAGS=-D_FORTIFY_SOURCE=2
> > CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
> > -Wformat- security -Werror=format-security
> > FFLAGS=-g -O2
> > LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro
> 
> Seem like Ubunto is hiding it somewhere else:
> <https://lists.ubuntu.com/archives/ubuntu-devel-announce/2010-> 
> October/000772.html>
> 
> As a quick check:
>  cd xorg/X11R7.6/rdp/ directory
>  rm X11rdp
>  make X11rdp
> Scan the linker command for any 'as-needed'. If you find it somewhere there,
> you need to check yourself where it comes from.
> 
> You can also check if the library is liked with GL by checking the output of
> objdump -p X11rdp  | grep NEEDED
> for libGL.so.
> 
> You can try to modify the Makefile.am and add
>   X11rdp_LDFLAGS = -Wl,--no-as-needed
> Running "make" should rebuild the auto* files and the binary.

I verified the binary itself, it isn't linked to GL:

# objdump -p /opt/X11rdp/bin/X11rdp  | grep NEEDED 
  NEEDED               libm.so.6
  NEEDED               libXfont.so.1
  NEEDED               libXau.so.6
  NEEDED               libXdmcp.so.6
  NEEDED               libpixman-1.so.0
  NEEDED               librt.so.1
  NEEDED               libdl.so.2
  NEEDED               libcrypto.so.1.0.0
  NEEDED               libc.so.6

I tried on another server(ubuntu 12.04 VM) , without nvidia card ot be sure it 
wasn't related and I don't get libGL either....

looking in compilation, I don't see any as-needed

Emmanuel

-- 
IUT R.Schuman
Université de Strasbourg

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to