Chris Card on Fri, 29 Jul 2011 09:21:31 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

RE: gp2c trouble?

> But when I try to load my gp2c file in gp it fails:
> \r
> *** Warning: is not a GP binary file.
> *** error opening input file: `'.
> *** Break loop: type 'break' to go back to GP
> I get a similar error if I use gp2c-run:
> $ gp2c-run
> / cannot open shared object file: No such file or directory
> *** at top-level: install("rev","GD10,
> *** ^--------------------
> *** install: couldn't open dynamic library '/'.
> *** Break loop: type 'break' to go back to GP
> exists and looks normal to me in a hex editor. What could
> be going wrong?

I don't know much about gp2c, but this looks like an environmental issue.

That error seems to imply it's looking in the root directory '/' for the file, so
possibly you need to specify the full path to the .so file, or set an environment

Try running under strace to see exactly which system calls gp2c-run is making.
Also check that can load ok with 'ldd'.