Skip to content

linker can't find -liconv or -lintl on FreeBSD #693

Open
@PaddyMac

Description

@PaddyMac

I'm trying to build on FreeBSD 12.2-RELEASE. I did install all the dependencies, and the libraries are located in /usr/local/lib. But for some reason cmake must not be properly handling things because when trying to compile, I get output like this:

patrick@xps400:/usr/home/patrick/work/TSC/tsc/build $ make
[ 1%] Built target podparser
[ 2%] Built target scrdg
[ 2%] Built target scriptdocumentation
[ 6%] Built target mruby
[ 7%] Built target tinyclipboard
[ 8%] Linking CXX executable tsc
ld: error: unable to find library -liconv
ld: error: unable to find library -lintl
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions