Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing static link option #7

Open
chriscamacho opened this issue Sep 26, 2018 · 7 comments
Open

missing static link option #7

chriscamacho opened this issue Sep 26, 2018 · 7 comments

Comments

@chriscamacho
Copy link

I noticed a error with ODE which was down to the way ODE was compiled on my system, after recompiling ODE I got things working, I'd be much more comfortable if I could statically link in my compilation of ODE so I can be sure it will work and include the features I need on other systems...

@mdparker
Copy link
Member

It's not missing. I have no plans to support it for DerelictODE. It's only an option for a handful of derelict packages, not all. If you want static linking with ODE, I suggest you try dpp:

https://github.com/atilaneves/dpp

@chriscamacho
Copy link
Author

I'll have to do something with LD_LIBRARY_PATH i guess, can't rely on some random configuration of ode when distributing binaries...

@mdparker
Copy link
Member

Ah, so it's a path issue. I'm happy to update the loader. Just let me know how your system configures the path, if it's Linux, BSD, or OS X, and I'll add that path to the loader.

@mdparker mdparker reopened this Sep 26, 2018
@mdparker
Copy link
Member

mdparker commented Sep 26, 2018

let me know how your system configures the path

Sorry, I mean let me know where your system installs ODE.

@chriscamacho
Copy link
Author

it doesn't (provide ode), not all distro do...
I'm far more comfortable compiling it myself, there are a wide range of config options for ode, often just the one you want is missing...
it's something I'd definitely want to distribute along with my binary...

@chriscamacho
Copy link
Author

fortunately it looks for libode.so so...
LD_LIBRARY_PATH=. ./physics
when executing the library is sufficient to load it

I noticed when testing (I uninstalled libode from my system to test above) that its also looking for libode.so.3 using the current release of the source (not git) the version is

ls /usr/local/lib/libode.so*
libode.so libode.so.6 libode.so.6.1.2

@Guanzhe
Copy link

Guanzhe commented Jul 7, 2024

what the definition of D language?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants