Thread overview | |||||
---|---|---|---|---|---|
|
February 25, 2014 Odd Linux linking error | ||||
---|---|---|---|---|
| ||||
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! |
February 25, 2014 Re: Odd Linux linking error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jeremy DeHaan | Can you post the full command line of the linker invocation? |
February 26, 2014 Re: Odd Linux linking error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Marc Schütz | 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.
|
Copyright © 1999-2021 by the D Language Foundation