digitalmars.D.learn - Odd Linux linking error
- Jeremy DeHaan (14/14) Feb 25 2014 I built some C shared libraries on Mint a while back and
- "Marc =?UTF-8?B?U2Now7x0eiI=?= <schuetzm gmx.net> (1/1) Feb 25 2014 Can you post the full command line of the linker invocation?
- Jeremy DeHaan (6/7) Feb 25 2014 It was done through Mono-D, so to answer this for you I went and
I built some C shared libraries on Mint a while back and everything with my binding worked out fine. I decided to try out ubuntu and on getting everything set up there(using the same previously built shared libs), I am getting an error that I am unfamiliar with. /usr/bin/ld: -f may not be used without -shared I have tried googling it with little success, so I was wondering if someone here could at least help to point me in the right direction. I'm not building a shared library so the addition of a shared switch doesn't seem like the way to go.(Also, I tried adding it anyways, and it just gave me different errors) Is this a D mistake on my part? Should I recompile the libs for ubuntu specifically? Any help would be much appreciated. Thanks as usual!
Feb 25 2014
Can you post the full command line of the linker invocation?
Feb 25 2014
On Tuesday, 25 February 2014 at 19:41:54 UTC, Marc Schütz wrote:Can you post the full command line of the linker invocation?It was done through Mono-D, so to answer this for you I went and tried do it on a command line. I got some different errors, so I'm currently working on fixing them. It looks like ubuntu really just didn't like the pre built shared libraries I had. I'm post again tomorrow if I'm still getting the same issue.
Feb 25 2014