Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628878 - =games-puzzle/bastet-0.43 : error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status
Summary: =games-puzzle/bastet-0.43 : error adding symbols: DSO missing from command li...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
Depends on:
Blocks: tinfo
  Show dependency tree
Reported: 2017-08-25 05:19 UTC by Adrien DAUGABEL
Modified: 2019-03-23 23:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

Proposiitoon of ebuild correction (bastet-0.43-r1.ebuild,761 bytes, text/plain)
2017-08-25 05:26 UTC, Adrien DAUGABEL

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien DAUGABEL 2017-08-25 05:19:19 UTC
Hi team gentoo,

impossible to compile bastet : 

x86_64-pc-linux-gnu-g++ -O2 -march=native -pipe -ldl -DNDEBUG -Wall -o bastet Ui.o main.o Block.o Well.o BlockPosition.o Config.o BlockChooser.o BastetBlockChooser.o -Wl,--as-needed -lncurses -lboost_program_options
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: Ui.o: undefined reference to symbol 'cbreak'
/lib64/ error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Makefile:17: bastet] Error 1

I try to compile locally, same error.

I must update Makefile and replace
LDLIBS = -lncurses 


LDLIBS = -ltinfo -lncurses 

Can you correct the ebuild with a magic sed :)

Reproducible: Always
Comment 1 Adrien DAUGABEL 2017-08-25 05:26:15 UTC
Created attachment 490508 [details]
Proposiitoon of ebuild correction
Comment 2 Larry the Git Cow gentoo-dev 2019-03-23 23:32:32 UTC
The bug has been closed via the following commit(s):

commit 88e045a01d140bcdc6bbc539b66c91df2f6fd0ec
Author:     Lars Wendler <>
AuthorDate: 2019-03-23 23:27:33 +0000
Commit:     Lars Wendler <>
CommitDate: 2019-03-23 23:32:23 +0000

    games-puzzle/bastet: Bump to vesion 0.43.2
    Fixed build with sys-libs/ncurses[tinfo]
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Lars Wendler <>

 games-puzzle/bastet/Manifest                       |  1 +
 games-puzzle/bastet/bastet-0.43.2.ebuild           | 37 ++++++++++++++++++++++
 .../bastet/files/bastet-0.43.2-Makefile.patch      | 33 +++++++++++++++++++
 .../bastet/files/bastet-0.43.2-boost_include.patch | 33 +++++++++++++++++++
 4 files changed, 104 insertions(+)