rzvncj / xCHM

xCHM is a cross-platform GPL frontend for CHMLIB (http://www.jedrea.com/chmlib/) written with the wxWidgets framework.
GNU General Public License v2.0
126 stars 25 forks source link

configure: error: Can't find/use -lchm. Please install CHMLIB first. #6

Closed xiaohai222220 closed 5 years ago

xiaohai222220 commented 5 years ago

I had try compile the source of CHMLIB and install by yum.(my system is centos). But it still notice that when I configure it. Tell me the solution,Please !

rzvncj commented 5 years ago

Do you have libchm.so anywhere on your system? You can run find / -name libchm.so (as root) to find out. If you have it, put the directory it's in in /etc/ld.so.conf and run ldconfig, then try to configure xchm again.

It also appears to be possible to install a precompiled version of xchm on CentOS: https://www.centos.org/forums/viewtopic.php?t=14642 https://centos.pkgs.org/7/nux-dextop-x86_64/xchm-1.23-6.el7.nux.x86_64.rpm.html

But I am not a CentOS user and cannot vouch for it.

rzvncj commented 5 years ago

Are things better now? Can I close this issue?

xiaohai222220 commented 5 years ago

emm.Yes.Thanks.

Răzvan Cojocaru notifications@github.com 于2019年9月8日周日 下午9:47写道:

Are things better now? Can I close this issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rzvncj/xCHM/issues/6?email_source=notifications&email_token=AMIVJ2H43PD64NA2U2EYHUDQIT67FA5CNFSM4IP4OCJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6FQKOQ#issuecomment-529204538, or mute the thread https://github.com/notifications/unsubscribe-auth/AMIVJ2EUBNYEGHZSWQF35RTQIT67FANCNFSM4IP4OCJA .

mhtvsSFrpHdE commented 4 years ago

chmlib-0.40 does not compile any of libchm.so or even any *.so files
it's just chm_lib.h, chm_lib.a, chm_lib.o, chm_lib.lo

A ./configure --enable-shared did not solve this

rzvncj commented 4 years ago

I don't understand what the problem you're trying to describe is, but you can always do ./configure --enable-builtin-chmlib with xCHM and no longer depend on the external chmlib.