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

ocamldebug can't find .so files #3697

Closed
vicuna opened this issue Sep 15, 2002 · 3 comments
Closed

ocamldebug can't find .so files #3697

vicuna opened this issue Sep 15, 2002 · 3 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Sep 15, 2002

Original bug ID: 1391
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

hi,

Running RH7.2, caml 3.06

i have a bytecode executable which makes use of camlimages and therefore
must load some shared object files.
LD_LIBRARY_PATH is set correctly, the executable runs ok standalone, but
when i try to run it with ocamldebug, it exits with a "Fatal error cannot
load shared library xxx.."

not sure if this is a bug, or something which was not done because too
hairy.

thanks
henri

@vicuna
Copy link
Author

vicuna commented Sep 20, 2002

Comment author: administrator

i have a bytecode executable which makes use of camlimages and therefore
must load some shared object files.
LD_LIBRARY_PATH is set correctly, the executable runs ok standalone, but
when i try to run it with ocamldebug, it exits with a "Fatal error cannot
load shared library xxx.."

not sure if this is a bug, or something which was not done because too
hairy.

There are no design limitations in ocamldebug that prevents it from
working in the presence of shared library loading. Small experiments
here with the Unix and Str libraries show no problem. Could you
please send a piece of code that reproduces the problem? (I have
camlimages installed.)

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented Sep 23, 2002

Comment author: administrator

I can't reproduce this and I'm wondering if i didn't simply get confused
by having set LD_LIBRARY_PATH inside an emacs shell, and then the
emacs-camldebug process would not 'inherit' the environment variable.

Apologies, and i won't file any more 4am bugs..

Henri

i have a bytecode executable which makes use of camlimages and therefore
must load some shared object files.
LD_LIBRARY_PATH is set correctly, the executable runs ok standalone, but
when i try to run it with ocamldebug, it exits with a "Fatal error cannot
load shared library xxx.."

not sure if this is a bug, or something which was not done because too
hairy.

There are no design limitations in ocamldebug that prevents it from
working in the presence of shared library loading. Small experiments
here with the Unix and Str libraries show no problem. Could you
please send a piece of code that reproduces the problem? (I have
camlimages installed.)

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented Oct 29, 2002

Comment author: administrator

Can't reproduce.

@vicuna vicuna closed this as completed Oct 29, 2002
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant