library XDR

Issues related to applications and software problems and general support
Post Reply
mazellan
Posts: 11
Joined: 2018/01/25 19:42:28
Location: Sweden

library XDR

Post by mazellan » 2021/05/05 07:16:46

Hi,

I'm having problem with a software (commercial) that is using the libmnf which in turn is looking for the xdr-library (this is my understanding, but I have limited knowledge of system stuff). My OS is centos 8.3. I have googled a bit and found that it is related to the removal of the (Sun)rpc-parts from glibc(?). Is there a package for centos 8 that contains the missing lib so I can point my linker to it? As it is a commercial software I'm not able to change the dependencies. They are officially only supporting RH/centos 7 at the moment.

Code: Select all

/software/msc/marc2021.1/marc2021.1/lib/linux64i8/libmnf.a(mnfset.o): In  
function `MNF_SetModeVec':
mnfset.c:(.text+0xa67): undefined reference to `xdr_double'
mnfset.c:(.text+0xa75): undefined reference to `xdr_vector'
/Andreas

sml
Posts: 305
Joined: 2020/01/17 09:01:44

Re: library XDR

Post by sml » 2021/05/05 08:08:39

Try

Code: Select all

dnf install libtirpc-devel
You also probably will have to

Code: Select all

CFLAGS="$CFLAGS $(pkg-config --cflags libtirpc)"
LDFLAGS="$LDFLAGS $(pkg-config --libs libtirpc)"

Post Reply