From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Jul 30 2018 - 14:37:17 CDT

I'm not sure what happened with your build, but you need to link
against the dlopen library (-ldl) as well, that's why you're missing
the symbols for dlopen/dlsym and so on.

Best,
  John

On Sun, Jul 29, 2018 at 07:08:56PM +0530, subramanian vidhyasankar wrote:
> Dear vmd users
> After Compiling plugins successfully i configured
> vmd ad moved to src directory then i have compiled using the following
> command
>
>
> *make LIBS="-lm -ltcl -ltk8.4 -ltcl8.4
> /root/vmd-1.9.3.src1/vmd/plugins/compile/lib_LINUX/molfile/libmolfile_plugin.a"*
>
>
>
>
> *The i got the following errror*
>
>
> libmolfile_plugin.a -Xlinker -export-dynamic ;
> Linking vmd_LINUX ...
> vmddlopen.o:vmddlopen.c:function vmddlopen: error: undefined reference to
> 'dlopen'
> vmddlopen.o:vmddlopen.c:function vmddlerror: error: undefined reference to
> 'dlerror'
> vmddlopen.o:vmddlopen.c:function vmddlsym: error: undefined reference to
> 'dlsym'
> vmddlopen.o:vmddlopen.c:function vmddlclose: error: undefined reference to
> 'dlclose'
> collect2: ld returned 1 exit status
> make: *** [vmd_LINUX] Error 1
>
>
> How to solve the problem
>
> With regards
> S.Vidhaysankar

-- 
NIH Center for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
http://www.ks.uiuc.edu/~johns/           Phone: 217-244-3349
http://www.ks.uiuc.edu/Research/vmd/