The best way to overcome this is to compile it, so that you don't have to depend on someone's dynamic library.

Fink doesn't build the g77 dynamic library, which allows you to avoid this problem.

If you use g77 3.4.1 (which is what is currently in fink) with gcc 3.3 you will have some linking errors.

I could not get the LDFLAG to let me do this (i.e., I coudn't figure out how to do this the "right way"), so I instead did the following:

1.  start up zsh  (to make use of its recursive globbing capability)

2.  configure

3. perl -pi -e 's|\-L/usr/local/|\-lcc_dynamic \-L/usr/local/|g' **/Makefile

make; make install



On Jul 15, 2004, at 5:03 PM, pymol-users-requ...@lists.sourceforge.net wrote:

I downloaded the Mac APBS binary, but I'm seeing this error when trying
to run it:

% ./apbs-0.3.1-g4
dyld: ./apbs-0.3.1-g4 can't open library: /usr/local/lib/libg2c.0.dylib
  (No such file or directory, errno = 2)
Trace/BPT trap

Anyone else see this or know how to overcome it?

Thanks,
Doug
William G. Scott

Associate Professor
Department of Chemistry and Biochemistry
and The Center for the Molecular Biology of RNA
Sinsheimer Laboratories
University of California at Santa Cruz
Santa Cruz, California 95064
USA

phone:  +1-831-459-5367 (office)
               +1-831-459-5292 (lab)
fax:         +1-831-459-3139 (fax)
url:          http://chemistry.ucsc.edu/~wgscott/

movie:    http://www.apple.com/trailers/lions_gate/fahrenheit_911/





Reply via email to