I'm neither using MEDM nor Ubuntu, so I can only guess.
From what I found using Google, it seems you need to link against
libld which is not done by default.
You could try to change the line
"USR_LIBS_Linux = Xm Xt Xp Xmu X11 Xext"
to
"USR_LIBS_Linux = Xm Xt Xp Xmu X11 Xext ld"
in medm/Makefile to include the library in the
build process.
Cheers
Florian
On 03/22/2016 05:10 AM, 彭毛毛 wrote:
Hi ,
I have installed medm on CentOS many times ,but this is the first
first time I install it on Ubuntu14 and there are some problems.
When I put put the newest medm folder in extensions/src and type
make , there are aome errors "/usr/bin/ld:
/usr/lib64/libX11.a(CrGlCur.o): undefined reference to symbol
'dlsym@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO
missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [medm] Error 1
make[2]: Leaving directory
`/disk1/epics/extensions/src/medm/medm/O.linux-x86_64'
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory
`/disk1/epics/extensions/src/medm/medm'
make: *** [medm.install] Error 2"
I didn't change anything in the medm folder and I still can't
solve this after search on Google . I think I must have lost
something . Could you help me?
Thank you !