Open rusher321 opened 12 months ago
I have the same error when trying to install the package. Has this issue been solved? @yijuanhu
I apologize for this error. I will work on that right now. Please stay tuned.
Yijuan
On May 31, 2024, at 4:06 PM, gthopkins @.***> wrote:
I have the same error when trying to install the package. Has this issue been solved?
— Reply to this email directly, view it on GitHubhttps://github.com/yijuanhu/LOCOM/issues/1#issuecomment-2142909260, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFM4UJNSUOLV7XT744C5KPTZFDJ3LAVCNFSM6AAAAABAKV457SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBSHEYDSMRWGA. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi there! I've been trying to install LOCOM for my metagenomics data analysis, but I keep getting an error message. I'd be really grateful if you could help me fix it! Thanks so much in advance.
** testing if installed package can be loaded from temporary location Error: package or namespace load failed for ‘LOCOM’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/usr/local/lib/R/site-library/00LOCK-LOCOM/00new/LOCOM/libs/LOCOM.so': /usr/local/lib/R/site-library/00LOCK-LOCOM/00new/LOCOM/libs/LOCOM.so: undefined symbol: dpotrf_ Error: loading failed Execution halted ERROR: loading failed
I got similar error messages but my error lay on the lapack library:
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dgetrf.f.obj):dgetrf.f:(.text+0x4f9): undefined reference to `dtrsm'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dgetrf2.f.obj):dgetrf2.f:(.text+0x25a): undefined reference to `dtrsm'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dgetrf2.f.obj):dgetrf2.f:(.text+0x46b): undefined reference to `idamax'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dgetrf2.f.obj):dgetrf2.f:(.text+0x52e): undefined reference to `dscal'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dgetri.f.obj):dgetri.f:(.text+0x48a): undefined reference to `dtrsm'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dgetri.f.obj):dgetri.f:(.text+0x754): undefined reference to `dswap'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dpotrf.f.obj):dpotrf.f:(.text+0x479): undefined reference to `dtrsm'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dpotrf.f.obj):dpotrf.f:(.text+0x821): undefined reference to `dtrsm'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dpotrf2.f.obj):dpotrf2.f:(.text+0x254): undefined reference to `dtrsm'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dpotrf2.f.obj):dpotrf2.f:(.text+0x3ae): undefined reference to `dtrsm'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dtrtri.f.obj):dtrtri.f:(.text+0x327): undefined reference to `dtrmm'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dtrtri.f.obj):dtrtri.f:(.text+0x3a6): undefined reference to `dtrsm'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dtrtri.f.obj):dtrtri.f:(.text+0x6ca): undefined reference to `dtrmm'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dtrtri.f.obj):dtrtri.f:(.text+0x773): undefined reference to `dtrsm'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dlauum.f.obj):dlauum.f:(.text+0x2a5): undefined reference to `dtrmm'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dlauum.f.obj):dlauum.f:(.text+0x638): undefined reference to `dtrmm'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dtrti2.f.obj):dtrti2.f:(.text+0x233): undefined reference to `dtrmv'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dtrti2.f.obj):dtrti2.f:(.text+0x254): undefined reference to `dscal'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dtrti2.f.obj):dtrti2.f:(.text+0x3a4): undefined reference to `dtrmv'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dtrti2.f.obj):dtrti2.f:(.text+0x3d0): undefined reference to `dscal'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dlauu2.f.obj):dlauu2.f:(.text+0x25c): undefined reference to `dscal'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x8664-w64-mingw32.static.posix/lib/liblapack.a(dlauu2.f.obj):dlauu2.f:(.text+0x3ea): undefined reference to `dscal'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: c:/rtools43/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/12.3.0/libgfortran.a(write.o):(.text$determine_en_precision+0x1e7): undefined reference to quadmath_snprintf' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: c:/rtools43/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/12.3.0/libgfortran.a(write.o):(.text$get_float_string+0x26f): undefined reference to
quadmath_snprintf'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: c:/rtools43/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/12.3.0/libgfortran.a(write.o):(.text$get_float_string+0xd61): undefined reference to quadmath_snprintf' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: c:/rtools43/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/12.3.0/libgfortran.a(write.o):(.text$get_float_string+0x1752): undefined reference to
quadmath_snprintf'
C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: c:/rtools43/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/12.3.0/libgfortran.a(write.o):(.text$get_float_string+0x193a): undefined reference to `quadmath_snprintf'
@yijuanhu do you have any update regarding the install errors? It seems several users are encountering issues while installing LOCOM. Thank you for your help!
@yijuanhu do you have any update regarding the install errors? It seems several users are encountering issues while installing LOCOM. Thank you for your help!
Hi gthopkins, I've been looking into this problem but there are very limited information. Do you have BLAS and LAPACK in your R environment?(usually shown in the output of sessionInfo(), just one line after "Matrix products: default") Also are you using a simplified Chinese Windows system?
@rusher321 @gthopkins Seems that our dear authors are not working on this project. I'm almost sure the error is caused by the different configuration of BLAS/LAPACK libraries between macOS and Windows. I asked people around me and the package could be installed properly on macOS machines, but not on Windows machines. If you do need this package recently, you can either swap to a macOS PC or install the older version using devtools::install_github("yijuanhu/LOCOM-Archive")
@Ziyu-Liu-WCM @yijuanhu I do not have BLAS or LAPACK in my R environment, and I am using a Windows system. Thank you for your suggested solution. I know one person using macOS who was able to install, however another was not. Hopefully the team can debug this software.
Hi Hu:
I got an error when I installed LOCOM package, like below;
Here is my R enviroment
I've looked for what's going wrong but still can't fix the installation; I guess I lack C++ knowledge; I would appreciate if you could provide some help ~.
Best wishes~ Huahui