[libvirt-users] libvirt_driver_storage.so /usr/lib64/../lib64/libfl.so.2: undefined symbol: yylex

Matthew Schumacher matt.s at aptalaska.com
Tue Mar 1 21:53:15 UTC 2016


Hello List,

I'm trying to get libvirt to work on slackware64-current
(slackware64-14.2 beta) and while it compiles just fine, it refuses to
run because of an undefined symbol:

2016-03-01 20:09:26.822+0000: 27849: error : virDriverLoadModule:73 :
failed to load module
/usr/lib64/libvirt/connection-driver/libvirt_driver_storage.so
/usr/lib64/../lib64/libfl.so.2: undefined symbol: yylex

I'm not really doing anything odd, here is my configure options in my
package building script:

./configure \
  --prefix=/usr \
  --libdir=/usr/lib64 \
  --bindir=/usr/sbin \
  --sbindir=/usr/sbin \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --docdir=/usr/doc/libvirt-1.3.3 \
  --enable-static=no \
  --enable-shared=yes \
  --with-yajl \
  --with-python=/usr \
  --with-qemu-group=users \
  --with-init-script=none \
  --with-storage-iscsi


Looks like the old slackware64-14.1 had flex compiled statically and the
new version is an SO, so I figure that's why this didn't happen on the
older slackware.

Any thoughts on how to fix this?




More information about the libvirt-users mailing list