Recent

Author Topic: softLink 2 lgdk-x11-2.0.so still not working fully  (Read 1302 times)

userx-bw

  • Full Member
  • ***
  • Posts: 178
softLink 2 lgdk-x11-2.0.so still not working fully
« on: October 16, 2015, 03:41:56 pm »
I found a post in here that tells how to fix the  /usr/bin/ld: cannot find -lgdk-x11-2.0 problem - http://forum.lazarus.freepascal.org/index.php?topic=2964.0 so I gave it a try. now it is only half working, like this.

before the soft link to the lib file I get the same error twice /usr/bin/ld: cannot find -lgtk-x11-2.0

Code: [Select]
//without soft link

/usr/bin/ld: warning: ../link.res contains output sections; did you forget -T?

/usr/bin/ld: cannot find -lgtk-x11-2.0
/usr/bin/ld: cannot find -lgdk-x11-2.0

/home/userx/Downloads/freepascal/lazarus/ide/lazarus.pp(142,1) Error: (9013) Error while linking
/home/userx/Downloads/freepascal/lazarus/ide/lazarus.pp(142,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Makefile:4005: recipe for target 'lazarus' failed
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory '/home/userx/Downloads/freepascal/lazarus/ide'
Makefile:4433: recipe for target 'bigide' failed
make[1]: *** [bigide] Error 2
make[1]: Leaving directory '/home/userx/Downloads/freepascal/lazarus/ide'
Makefile:3072: recipe for target 'idebig' failed
make: *** [idebig] Error 2
[userx@voided lazarus]$

after I link it [userx@voided ~]$ sudo ln -s /usr/lib//libgdk-x11-2.0.so.0 /usr/lib//libgdk-x11-2.0.so
I get the same error only this time once -- but why?

Code: [Select]

//compiled with soft link


/usr/bin/ld: warning: ../link.res contains output sections; did you forget -T?

/usr/bin/ld: cannot find -lgtk-x11-2.0

/home/userx/Downloads/freepascal/lazarus/ide/lazarus.pp(142,1) Error: (9013) Error while linking
/home/userx/Downloads/freepascal/lazarus/ide/lazarus.pp(142,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Makefile:4005: recipe for target 'lazarus' failed
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory '/home/userx/Downloads/freepascal/lazarus/ide'
Makefile:4429: recipe for target 'ide' failed
make[1]: *** [ide] Error 2
make[1]: Leaving directory '/home/userx/Downloads/freepascal/lazarus/ide'
Makefile:3070: recipe for target 'ide' failed
make: *** [ide] Error 2
[userx@voided lazarus]$
if it found it once then it should find it again, so how would I fix this crazyiness?
My Finished Projects
https://sourceforge.net/projects/mhsetroot/
https://sourceforge.net/projects/gmhsetrootfreepascalfrontend/

HP Elitetbook 6930p Dual Core Intel vPro 2.66 gHz
VOID (Linux) 64bit

 

TinyPortal © 2005-2018