This is what I see on my 64-bit Linux system:
[epics@baja ~]$ ls -l /usr/lib64/*curs*
lrwxrwxrwx 1 root root 19 Nov 2 2007 /usr/lib64/libXcursor.so.1 -> libXcursor.so.1.0.2
-rwxr-xr-x 1 root root 41040 Sep 24 2007 /usr/lib64/libXcursor.so.1.0.2
-rw-r--r-- 1 root root 17 Oct 16 2007 /usr/lib64/libcurses.so
lrwxrwxrwx 1 root root 18 Feb 20 2008 /usr/lib64/libcursesw.so -> libncursesw.so.5.6
lrwxrwxrwx 1 root root 27 Feb 20 2008 /usr/lib64/libncurses.so -> ../../lib64/libncurses.so.5
lrwxrwxrwx 1 root root 16 Feb 20 2008 /usr/lib64/libncursesw.so -> libncursesw.so.5
lrwxrwxrwx 1 root root 18 Nov 2 2007 /usr/lib64/libncursesw.so.5 -> libncursesw.so.5.6
-rwxr-xr-x 1 root root 183264 Oct 16 2007 /usr/lib64/libncursesw.so.5.6
Mark
________________________________
From: Patrick Thomas [mailto:[email protected]]
Sent: Thu 9/24/2009 12:17 AM
To: Mark Rivers
Cc: Matthieu Bec; [email protected]
Subject: Re: alarm handler on base 3-14-11
It seems there were too many dependencies to remove, so I did a
reinstall, but that didn't seem to help, and it gave the same warning
that ldconfig did when it reinstalled.
Mark Rivers wrote:
> That's what I suspected. I don't think that is right. I would uninstall both packages, make sure those files are gone and reinstall.
>
> Mark
>
>
> ________________________________
>
> From: Patrick Thomas [mailto:[email protected]]
> Sent: Wed 9/23/2009 11:08 PM
> To: Mark Rivers
> Cc: Matthieu Bec; [email protected]
> Subject: Re: alarm handler on base 3-14-11
>
>
>
> /usr/lib/libcurses.so seems to be a link to /usr/lib64/libncurses.so.5.5
>
> Mark Rivers wrote:
>
>> Do
>> ls -l /usr/lib64/*curse*
>> and see what the real files are, what are soft links, etc.
>>
>> ________________________________
>>
>> From: [email protected] on behalf of Patrick Thomas
>> Sent: Wed 9/23/2009 10:54 PM
>> To: Matthieu Bec
>> Cc: [email protected]
>> Subject: Re: alarm handler on base 3-14-11
>>
>>
>>
>> It said:
>>
>> /sbin/ldconfig: libraries libcurses.so and libncurses.so.5.5 in directory /usr/lib have same soname but different type.
>>
>>
>>
>> Matthieu Bec wrote:
>>
>>
>>> Hi Patrick,
>>>
>>> try running ldconfig (as root), that might help fix missing softlink etc.
>>> and then rebuild as normal
>>>
>>>
>>> On 09/23/09 23:38, Patrick Thomas wrote:
>>>
>>>
>>>> I'm not sure. I see the path to /usr/lib64 being used by make, so I'm
>>>> confused why it wouldn't find it there.
>>>>
>>>> /usr/bin/g++ -o alh
>>>> -L/users/thomas/epics/base/base-3-14-11/lib/linux-x86_64 -L/usr/lib64
>>>> -Wl,-rpath,/users/thomas/epics/base/base-3-14-11/lib/linux-x86_64
>>>> -Wl,-rpath,/usr/lib64 -m64 alCA.o acknowledge.o alAudio.o alarm.o
>>>> alCaCommon.o alConfig.o alFilter.o alLib.o alLog.o alView.o alh.o
>>>> awAct.o awAlh.o awEdit.o awView.o axArea.o axRunW.o axSubW.o browser.o
>>>> current.o dialog.o file.o force.o guidance.o heartbeat.o help.o line.o
>>>> mask.o process.o property.o scroll.o showmask.o sllLib.o beepSevr.o
>>>> noAck.o -lca -lCom -lXmu -lXm -lXt -lX11 -lXp -lpthread -lreadline
>>>> -lncurses -lm -lrt -ldl -lgcc
>>>> /usr/bin/ld: cannot find -lncurses
>>>> collect2: ld returned 1 exit status
>>>> make[3]: *** [alh] Error 1
>>>> make[3]: Leaving directory
>>>> `/users/thomas/epics/extensions/src/alh1_2_24/O.linux-x86_64'
>>>> make[2]: *** [install.linux-x86_64] Error 2
>>>> make[2]: Leaving directory
>>>> `/users/thomas/epics/extensions/src/alh1_2_24'
>>>> make[1]: *** [alh1_2_24.install] Error 2
>>>> make[1]: Leaving directory `/users/thomas/epics/extensions/src'
>>>> make: *** [src.install] Error 2
>>>>
>>>>
>>>>
>>>> Zhichu Chen wrote:
>>>>
>>>>
>>>>> Then maybe your /usr/lib(64) is not included in the LIB variable. It
>>>>> happened to me before, when I was compiling EDM on a 64bit ubuntu
>>>>> using GCC 4.3.3, it can't find libXm, blahblah. Well, since that's not
>>>>> my laptop and I'm not supposed to jeopardize the system environment, I
>>>>> just make some symbolic links to /base/lib so it can move on to the
>>>>> next step. I'm not sure if this message could be helpful.
>>>>>
>>>>> On Thu, Sep 24, 2009 at 10:35 AM, Patrick Thomas
>>>>> <[email protected]> wrote:
>>>>>
>>>>>
>>>>>> There is a copy there as well.
>>>>>>
>>>>>> Mark Rivers wrote:
>>>>>>
>>>>>>
>>>>>>> I think that is the 32-bit version, and you need the 64-bit version,
>>>>>>> which
>>>>>>> will be in usr/lib64
>>>>>>> Mark
>>>>>>>
>>>>>>> ________________________________
>>>>>>>
>>>>>>> From: [email protected] on behalf of Patrick Thomas
>>>>>>> Sent: Wed 9/23/2009 9:02 PM
>>>>>>> To: Zhichu Chen
>>>>>>> Cc: [email protected]
>>>>>>> Subject: Re: alarm handler on base 3-14-11
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> I think it is installed, there is a libncurses.so.5 file in /usr/lib.
>>>>>>>
>>>>>>> Zhichu Chen wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Install ncurses library by yourself.
>>>>>>>>
>>>>>>>> On Thu, Sep 24, 2009 at 9:47 AM, Patrick Thomas
>>>>>>>> <[email protected]> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Thank you, that seems to have worked. However, now it errors on
>>>>>>>>> 'cannot
>>>>>>>>> find
>>>>>>>>> -lncurses' for g++ -o alh.
>>>>>>>>>
>>>>>>>>> Mark Rivers wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> This is a common change required in 3.14.11.
>>>>>>>>>> You need to "#include menuYesNo.h" and YES needs to be changed to
>>>>>>>>>> menuYesNoYES.
>>>>>>>>>> Mark
>>>>>>>>>>
>>>>>>>>>> ________________________________
>>>>>>>>>>
>>>>>>>>>> From: [email protected] on behalf of Patrick Thomas
>>>>>>>>>> Sent: Wed 9/23/2009 8:00 PM
>>>>>>>>>> To: [email protected]
>>>>>>>>>> Subject: alarm handler on base 3-14-11
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I was wondering, I get a compile error on force.c when running
>>>>>>>>>> make on
>>>>>>>>>> the alarm handler with epics-3-14-11, on 64 bit linux:
>>>>>>>>>>
>>>>>>>>>> /usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
>>>>>>>>>> -D_XOPEN_SOURCE=500 -D_X86_64_ -DUNIX -D_BSD_SOURCE -Dlinux
>>>>>>>>>> -D_REENTRANT -O3 -Wall -m64 -g -I. -I../O.Common -I.
>>>>>>>>>> -I../os/default -I.. -I../../../include/os/Linux
>>>>>>>>>> -I../../../include
>>>>>>>>>> -I/users/thomas/epics/base/base-3-14-11/include/os/Linux
>>>>>>>>>> -I/users/thomas/epics/base/base-3-14-11/include -I../os/Linux
>>>>>>>>>> -I../os/default -I/usr/include -I/usr/include/X11 ../force.c
>>>>>>>>>> ../force.c: In function 'forcePVUpdateFields':
>>>>>>>>>> ../force.c:1028: error: 'YES' undeclared (first use in this
>>>>>>>>>> function)
>>>>>>>>>> ../force.c:1028: error: (Each undeclared identifier is reported
>>>>>>>>>> only
>>>>>>>>>> once
>>>>>>>>>> ../force.c:1028: error: for each function it appears in.)
>>>>>>>>>> make[2]: *** [force.o] Error 1
>>>>>>>>>> make[2]: Leaving directory
>>>>>>>>>> `/users/thomas/epics/extensions/src/alh1_2_24/O.linux-x86_64'
>>>>>>>>>> make[1]: *** [install.linux-x86_64] Error 2
>>>>>>>>>> make[1]: Leaving directory
>>>>>>>>>> `/users/thomas/epics/extensions/src/alh1_2_24'
>>>>>>>>>> make: *** [alh1_2_24.install] Error 2
>>>>>>>>>>
>>>>>>>>>> Thank you,
>>>>>>>>>> Patrick
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>
>>>
>>
>>
>>
>
>
>
>
- Replies:
- Re: alarm handler on base 3-14-11 Patrick Thomas
- Re: alarm handler on base 3-14-11 Patrick Thomas
- Re: alarm handler on base 3-14-11 Thomas Birke
- References:
- alarm handler on base 3-14-11 Patrick Thomas
- RE: alarm handler on base 3-14-11 Mark Rivers
- Re: alarm handler on base 3-14-11 Patrick Thomas
- Re: alarm handler on base 3-14-11 Zhichu Chen
- Re: alarm handler on base 3-14-11 Patrick Thomas
- RE: alarm handler on base 3-14-11 Mark Rivers
- Re: alarm handler on base 3-14-11 Patrick Thomas
- Re: alarm handler on base 3-14-11 Zhichu Chen
- Re: alarm handler on base 3-14-11 Patrick Thomas
- Re: alarm handler on base 3-14-11 Matthieu Bec
- Re: alarm handler on base 3-14-11 Patrick Thomas
- RE: alarm handler on base 3-14-11 Mark Rivers
- Re: alarm handler on base 3-14-11 Patrick Thomas
- RE: alarm handler on base 3-14-11 Mark Rivers
- Re: alarm handler on base 3-14-11 Patrick Thomas
- Navigate by Date:
- Prev:
Re: alarm handler on base 3-14-11 Patrick Thomas
- Next:
Re: alarm handler on base 3-14-11 Patrick Thomas
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: alarm handler on base 3-14-11 Patrick Thomas
- Next:
Re: alarm handler on base 3-14-11 Patrick Thomas
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|