- help with TILP installation
- 14 Nov 2018 09:52:27 pm
- Last edited by DTWH on 15 Nov 2018 05:19:56 pm; edited 4 times in total
so i've gotten to the libticonv-1.1.5 file. i've autoreconf -i -f ed it and then i ./configured it. i am told that i can now do make and make install. great i think to myself. i try to make and then bada bing bada bloop it doesn't work. it says:
undefined symbols for architecture x86_64:
"_ticonv_iconv", referenced from:
_main in torture_ticonv.o
"_ticonv_iconv_close", referenced from:
_main in torture_ticonv.o
"_ticonv_iconv_open", referenced from:
_main in torture_ticonv.o
ld: symbol(s) not found for architecture x86_64
i am on high sierra
i am currently trying the given script to install tilp and i will update this post with results
----------------------------------------------------------------------------------------------------
after hours of toil i've done it! i've installed tilp. i've learned so much on my journey. my vague understanding of path and environment variables is now slightly more intimate. this will likely not be useful to anyone, but here is a tip: you are supposed to link libarchive with homebrew, but homebrew doesn't let you link libarchive, so after brew installing libarchive, you should be able to add libarchive to your pkg-config path by opening the install_tilp.sh file, finding the part where it says:
Code:
and replacing
Code:
and
Code:
with the following respectively:
Code:
and
Code:
i tried to add libarchive to the pkg-config path many times before i realized the script changed it
undefined symbols for architecture x86_64:
"_ticonv_iconv", referenced from:
_main in torture_ticonv.o
"_ticonv_iconv_close", referenced from:
_main in torture_ticonv.o
"_ticonv_iconv_open", referenced from:
_main in torture_ticonv.o
ld: symbol(s) not found for architecture x86_64
i am on high sierra
i am currently trying the given script to install tilp and i will update this post with results
----------------------------------------------------------------------------------------------------
after hours of toil i've done it! i've installed tilp. i've learned so much on my journey. my vague understanding of path and environment variables is now slightly more intimate. this will likely not be useful to anyone, but here is a tip: you are supposed to link libarchive with homebrew, but homebrew doesn't let you link libarchive, so after brew installing libarchive, you should be able to add libarchive to your pkg-config path by opening the install_tilp.sh file, finding the part where it says:
Code:
if [ "x$PKG_CONFIG_PATH" = "x" ]; then
PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:/opt/X11/lib/pkgconfig"
else
PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$PREFIX/lib/pkgconfig:/opt/X11/lib/pkgconfig"
and replacing
Code:
"$PREFIX/lib/pkgconfig:/opt/X11/lib/pkgconfig"
and
Code:
"$PKG_CONFIG_PATH:$PREFIX/lib/pkgconfig:/opt/X11/lib/pkgconfig"
with the following respectively:
Code:
"$PREFIX/lib/pkgconfig:/opt/X11/lib/pkgconfig:/usr/local/Cellar/libarchive/3.3.3/lib/pkgconfig/"
and
Code:
"$PKG_CONFIG_PATH:$PREFIX/lib/pkgconfig:/opt/X11/lib/pkgconfig:/usr/local/Cellar/libarchive/3.3.3/lib/pkgconfig/"
i tried to add libarchive to the pkg-config path many times before i realized the script changed it