Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] games-util/eureka "ld: cannot find -lfltk_gl"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
statikregimen
Apprentice
Apprentice


Joined: 16 Jul 2011
Posts: 173
Location: USA/Michigan

PostPosted: Sat Nov 07, 2020 2:10 am    Post subject: games-util/eureka "ld: cannot find -lfltk_gl" Reply with quote

The subject sums it up nicely.

I installed it earlier on another PC with very nearly identical configuration, and it worked, so gotta narrow down what's different in this case.

EDIT: What's funny is I apparently already had it installed and was trying to rebuild it. Oops. Nevertheless, it seems like it should work. So, I tried to completely remove it (emerge -cav eureka && emerge --depclean), then did a system update, then tried reinstalling - got the same issue.

Here's some infos (I'm sure I'll be politely reminded about something obvious I'm forgetting to include):

Code:
# emerge --info '=games-util/eureka-111::ennui'
Portage 3.0.8 (python 3.7.9-final-0, default/linux/amd64/17.0/desktop, gcc-9.3.0, glibc-2.32-r2, 5.4.72-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.72-gentoo-x86_64-Intel-R-_Core-TM-_i7-6820HK_CPU_@_2.70GHz-with-gentoo-2.7
KiB Mem:    32903844 total,  15903060 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 05 Nov 2020 04:30:01 +0000
Head commit of repository gentoo: 87b24838218ded1d0ba085b8718a8e23d3d8b544
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.5::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.2::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

ennui
    location: /var/lib/layman/ennui
    masters: gentoo
    priority: 50

gnome
    location: /var/lib/layman/gnome
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 50

lanodanOverlay
    location: /var/lib/layman/lanodanOverlay
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

trolltoo
    location: /var/lib/layman/trolltoo
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ http://cosmos.illinois.edu/pub/gentoo/ ftp://cosmos.illinois.edu/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif git gpm gtk gui iconv icu ipv6 jack joystick jpeg lcms libglvnd libnotify libtirpc mad mdadm mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds readline sdl seccomp spell split-usr ssl startup-notification steamruntime svg tcpd tiff truetype udev udisks unicode upower usb vhost-net vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

games-util/eureka-111::ennui was built with the following:
USE="" ABI_X86="(64)"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"


Last edited by statikregimen on Mon Nov 09, 2020 12:54 am; edited 3 times in total
Back to top
View user's profile Send private message
GDH-gentoo
Guru
Guru


Joined: 20 Jul 2019
Posts: 599
Location: South America

PostPosted: Sat Nov 07, 2020 3:52 pm    Post subject: Reply with quote

Post the output of:
Code:
qlist fltk | grep -v '\.h$' | sort

and:
Code:
emerge -pv fltk
Back to top
View user's profile Send private message
statikregimen
Apprentice
Apprentice


Joined: 16 Jul 2011
Posts: 173
Location: USA/Michigan

PostPosted: Sat Nov 07, 2020 5:08 pm    Post subject: Reply with quote

Thank you for the help. The requested info is as follows:

Code:
# qlist fltk | grep -v '\.h$' | sort
/etc/env.d/99fltk
/usr/bin/fltk-config
/usr/bin/fluid
/usr/include/fltk/Fl
/usr/include/fltk/FL/Enumerations.H
/usr/include/fltk/FL/filename.H
/usr/include/fltk/FL/Fl_Adjuster.H
/usr/include/fltk/FL/fl_ask.H
/usr/include/fltk/FL/Fl_Bitmap.H
/usr/include/fltk/FL/Fl_BMP_Image.H
/usr/include/fltk/FL/Fl_Box.H
/usr/include/fltk/FL/Fl_Browser.H
/usr/include/fltk/FL/Fl_Browser_.H
/usr/include/fltk/FL/Fl_Button.H
/usr/include/fltk/FL/Fl_Cairo.H
/usr/include/fltk/FL/Fl_Cairo_Window.H
/usr/include/fltk/FL/Fl_Chart.H
/usr/include/fltk/FL/Fl_Check_Browser.H
/usr/include/fltk/FL/Fl_Check_Button.H
/usr/include/fltk/FL/Fl_Choice.H
/usr/include/fltk/FL/Fl_Clock.H
/usr/include/fltk/FL/Fl_Color_Chooser.H
/usr/include/fltk/FL/Fl_Copy_Surface.H
/usr/include/fltk/FL/Fl_Counter.H
/usr/include/fltk/FL/Fl_Device.H
/usr/include/fltk/FL/Fl_Dial.H
/usr/include/fltk/FL/Fl_Double_Window.H
/usr/include/fltk/FL/fl_draw.H
/usr/include/fltk/FL/Fl_Export.H
/usr/include/fltk/FL/Fl_File_Browser.H
/usr/include/fltk/FL/fl_file_chooser.H
/usr/include/fltk/FL/Fl_File_Chooser.H
/usr/include/fltk/FL/Fl_File_Icon.H
/usr/include/fltk/FL/Fl_File_Input.H
/usr/include/fltk/FL/Fl_Fill_Dial.H
/usr/include/fltk/FL/Fl_Fill_Slider.H
/usr/include/fltk/FL/Fl_Float_Input.H
/usr/include/fltk/FL/Fl_FormsBitmap.H
/usr/include/fltk/FL/Fl_FormsPixmap.H
/usr/include/fltk/FL/Fl_Free.H
/usr/include/fltk/FL/Fl_GIF_Image.H
/usr/include/fltk/FL/Fl_Gl_Window.H
/usr/include/fltk/FL/Fl_Group.H
/usr/include/fltk/FL/Fl.H
/usr/include/fltk/FL/Fl_Help_Dialog.H
/usr/include/fltk/FL/Fl_Help_View.H
/usr/include/fltk/FL/Fl_Hold_Browser.H
/usr/include/fltk/FL/Fl_Hor_Fill_Slider.H
/usr/include/fltk/FL/Fl_Hor_Nice_Slider.H
/usr/include/fltk/FL/Fl_Hor_Slider.H
/usr/include/fltk/FL/Fl_Hor_Value_Slider.H
/usr/include/fltk/FL/Fl_Image.H
/usr/include/fltk/FL/Fl_Image_Surface.H
/usr/include/fltk/FL/Fl_Input_Choice.H
/usr/include/fltk/FL/Fl_Input.H
/usr/include/fltk/FL/Fl_Input_.H
/usr/include/fltk/FL/Fl_Int_Input.H
/usr/include/fltk/FL/Fl_JPEG_Image.H
/usr/include/fltk/FL/Fl_Light_Button.H
/usr/include/fltk/FL/Fl_Line_Dial.H
/usr/include/fltk/FL/Fl_Menu_Bar.H
/usr/include/fltk/FL/Fl_Menu_Button.H
/usr/include/fltk/FL/Fl_Menu.H
/usr/include/fltk/FL/Fl_Menu_.H
/usr/include/fltk/FL/Fl_Menu_Item.H
/usr/include/fltk/FL/Fl_Menu_Window.H
/usr/include/fltk/FL/fl_message.H
/usr/include/fltk/FL/Fl_Multi_Browser.H
/usr/include/fltk/FL/Fl_Multi_Label.H
/usr/include/fltk/FL/Fl_Multiline_Input.H
/usr/include/fltk/FL/Fl_Multiline_Output.H
/usr/include/fltk/FL/Fl_Native_File_Chooser.H
/usr/include/fltk/FL/Fl_Nice_Slider.H
/usr/include/fltk/FL/Fl_Object.H
/usr/include/fltk/FL/Fl_Output.H
/usr/include/fltk/FL/Fl_Overlay_Window.H
/usr/include/fltk/FL/Fl_Pack.H
/usr/include/fltk/FL/Fl_Paged_Device.H
/usr/include/fltk/FL/Fl_Pixmap.H
/usr/include/fltk/FL/Fl_Plugin.H
/usr/include/fltk/FL/Fl_PNG_Image.H
/usr/include/fltk/FL/Fl_PNM_Image.H
/usr/include/fltk/FL/Fl_Positioner.H
/usr/include/fltk/FL/Fl_PostScript.H
/usr/include/fltk/FL/Fl_Preferences.H
/usr/include/fltk/FL/Fl_Printer.H
/usr/include/fltk/FL/Fl_Progress.H
/usr/include/fltk/FL/Fl_Radio_Button.H
/usr/include/fltk/FL/Fl_Radio_Light_Button.H
/usr/include/fltk/FL/Fl_Radio_Round_Button.H
/usr/include/fltk/FL/Fl_Repeat_Button.H
/usr/include/fltk/FL/Fl_Return_Button.H
/usr/include/fltk/FL/Fl_RGB_Image.H
/usr/include/fltk/FL/Fl_Roller.H
/usr/include/fltk/FL/Fl_Round_Button.H
/usr/include/fltk/FL/Fl_Round_Clock.H
/usr/include/fltk/FL/Fl_Scrollbar.H
/usr/include/fltk/FL/Fl_Scroll.H
/usr/include/fltk/FL/Fl_Secret_Input.H
/usr/include/fltk/FL/Fl_Select_Browser.H
/usr/include/fltk/FL/Fl_Shared_Image.H
/usr/include/fltk/FL/fl_show_colormap.H
/usr/include/fltk/FL/fl_show_input.H
/usr/include/fltk/FL/Fl_Simple_Counter.H
/usr/include/fltk/FL/Fl_Single_Window.H
/usr/include/fltk/FL/Fl_Slider.H
/usr/include/fltk/FL/Fl_Spinner.H
/usr/include/fltk/FL/Fl_Sys_Menu_Bar.H
/usr/include/fltk/FL/Fl_Table.H
/usr/include/fltk/FL/Fl_Table_Row.H
/usr/include/fltk/FL/Fl_Tabs.H
/usr/include/fltk/FL/Fl_Text_Buffer.H
/usr/include/fltk/FL/Fl_Text_Display.H
/usr/include/fltk/FL/Fl_Text_Editor.H
/usr/include/fltk/FL/Fl_Tiled_Image.H
/usr/include/fltk/FL/Fl_Tile.H
/usr/include/fltk/FL/Fl_Timer.H
/usr/include/fltk/FL/Fl_Toggle_Button.H
/usr/include/fltk/FL/Fl_Toggle_Light_Button.H
/usr/include/fltk/FL/Fl_Toggle_Round_Button.H
/usr/include/fltk/FL/Fl_Tooltip.H
/usr/include/fltk/FL/Fl_Tree.H
/usr/include/fltk/FL/Fl_Tree_Item_Array.H
/usr/include/fltk/FL/Fl_Tree_Item.H
/usr/include/fltk/FL/Fl_Tree_Prefs.H
/usr/include/fltk/FL/Fl_Valuator.H
/usr/include/fltk/FL/Fl_Value_Input.H
/usr/include/fltk/FL/Fl_Value_Output.H
/usr/include/fltk/FL/Fl_Value_Slider.H
/usr/include/fltk/FL/Fl_Widget.H
/usr/include/fltk/FL/Fl_Window.H
/usr/include/fltk/FL/Fl_Wizard.H
/usr/include/fltk/FL/Fl_XBM_Image.H
/usr/include/fltk/FL/Fl_XPM_Image.H
/usr/include/fltk/FL/forms.H
/usr/include/fltk/FL/gl_draw.H
/usr/include/fltk/FL/glut.H
/usr/include/fltk/FL/mac.H
/usr/include/fltk/FL/platform.H
/usr/include/fltk/FL/win32.H
/usr/include/fltk/FL/x.H
/usr/lib64/fltk/libfltk_cairo.so
/usr/lib64/fltk/libfltk_cairo.so.1.3
/usr/lib64/fltk/libfltk_forms.so
/usr/lib64/fltk/libfltk_forms.so.1.3
/usr/lib64/fltk/libfltk_images.so
/usr/lib64/fltk/libfltk_images.so.1.3
/usr/lib64/fltk/libfltk.so
/usr/lib64/fltk/libfltk.so.1.3
/usr/share/applications/fluid.desktop
/usr/share/cmake/Modules/FLTK-Functions.cmake
/usr/share/doc/fltk-1.3.5-r4/ANNOUNCEMENT.bz2
/usr/share/doc/fltk-1.3.5-r4/CHANGES_1.0.bz2
/usr/share/doc/fltk-1.3.5-r4/CHANGES_1.1.bz2
/usr/share/doc/fltk-1.3.5-r4/CHANGES.bz2
/usr/share/doc/fltk-1.3.5-r4/CREDITS.bz2
/usr/share/doc/fltk-1.3.5-r4/README.abi-version.txt.bz2
/usr/share/doc/fltk-1.3.5-r4/README.bz2
/usr/share/doc/fltk-1.3.5-r4/README.Cairo.txt.bz2
/usr/share/doc/fltk-1.3.5-r4/README.CMake.txt.bz2
/usr/share/doc/fltk-1.3.5-r4/README.MSWindows.txt.bz2
/usr/share/doc/fltk-1.3.5-r4/README.OSX.txt.bz2
/usr/share/doc/fltk-1.3.5-r4/README.Unix.txt.bz2
/usr/share/icons/hicolor/128x128/apps/fluid.png
/usr/share/icons/hicolor/16x16/apps/fluid.png
/usr/share/icons/hicolor/32x32/apps/fluid.png
/usr/share/icons/hicolor/48x48/apps/fluid.png
/usr/share/icons/hicolor/64x64/apps/fluid.png
/usr/share/mimelnk/application/x-fluid.desktop
/usr/share/pixmaps/fluid.png


Code:
# emerge -pv fltk
[ebuild   R    ] x11-libs/fltk-1.3.5-r4:1::gentoo  USE="cairo opengl threads xft xinerama -debug -doc -examples -games -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 25116
Location: here

PostPosted: Sat Nov 07, 2020 5:35 pm    Post subject: Reply with quote

Try to rebuild x11-libs/fltk package because seems not to have installed /usr/lib64/fltk/libfltk_gl.so
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
statikregimen
Apprentice
Apprentice


Joined: 16 Jul 2011
Posts: 173
Location: USA/Michigan

PostPosted: Sat Nov 07, 2020 5:44 pm    Post subject: Reply with quote

That did the trick! Thank you very much. Wonder what happened between the first time I installed it (probably a year ago) and now...

EDIT: I grabbed 1.27b source, which also builds fine at this time (and works a lot better).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum