Continuing from lfs-supoprt...

On 5/11/19 4:28 PM, Niels Terp wrote:> On 5/10/19 5:25 PM, Niels Terp wrote:
>
>     Hey, I’m kind of new here. I build LFS several times a few years
>     ago, but then got busy with other things.


> /mnt/lfs/tools/bin/../lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
> /mnt/lfs/usr/src/Octothorpe/BUILD/rpm-4.14.2.1/lib/.libs/librpm.so:
> undefined reference to `db_env_set_func_fsync'


I've never built rpm, but this is fairly obvious. You are missing a dependency. A quick search says Berkeley db.


$ nm /usr/lib/libdb-5.3.so|grep db_env_set_func_fsync
0000000000158f90 T db_env_set_func_fsync

The T means: The symbol is in the text (code) section.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to