-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation issues #117
Comments
can you try install libnsl, like in
https://unix.stackexchange.com/questions/627517/centos-8-usr-bin-ld-cannot-find-lnsl
…On Tue, Mar 5, 2024 at 2:19 PM MrDotOne ***@***.***> wrote:
Trying to compile from source the latest version pf PennCNV (1.0.5) on an
HPC where i have gcc/8.5.0 and perl/5.14.2. I get a linker error, and i
am unsure how to resolve it:
***@***.*** kext]# make
gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o khmm_wrap.o
khmm_wrap.c
gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o khmm.o khmm.c
gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o kc.o kc.c
gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o khmmDev.o khmmDev.c
gcc -shared -o khmm.so khmm_wrap.o khmm.o kc.o khmmDev.o perl
-MExtUtils::Embed -e ldopts -fPIC
/usr/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status
make: *** [Makefile:16: khmm.so] Error 1
Any thoughts would be appreciated.
—
Reply to this email directly, view it on GitHub
<#117>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNG3OAMVA365YPKIQ4ACJLYWYLFBAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DSOJYGE4TSMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
It is already installed:
rpm -qa | grep libnsl
libnsl2-1.2.0-2.20180605git4a062cf.el8.i686
libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64
libnsl-2.28-211.el8.x86_64
________________________________
From: Kai Wang ***@***.***>
Sent: Tuesday, March 5, 2024 3:14 PM
To: WGLab/PennCNV ***@***.***>
Cc: Weiner, Michael ***@***.***>; Author ***@***.***>
Subject: [EXT] Re: [WGLab/PennCNV] Compilation issues (Issue #117)
PROCEED WITH CAUTION: Slow down and pay close attention to emails sent from outside the organization. If you receive an unsolicited email from an unknown sender or are suspicious of the tone, style, vocabulary or urgency of the email message, never click links or open attachments within it. When in doubt, you should either delete the email, verify its authenticity by contacting the sender using an alternative method not listed in the email, or submit it via the BlueFish button in Outlook for investigation. If you don't have the BlueFish button or are using a mobile device, forward the email as an attachment to ***@***.******@***.***?subject=Report%20a%20Suspicious%20Email>
________________________________
can you try install libnsl, like in
https://unix.stackexchange.com/questions/627517/centos-8-usr-bin-ld-cannot-find-lnsl<https://unix.stackexchange.com/questions/627517/centos-8-usr-bin-ld-cannot-find-lnsl>
On Tue, Mar 5, 2024 at 2:19 PM MrDotOne ***@***.***> wrote:
Trying to compile from source the latest version pf PennCNV (1.0.5) on an
HPC where i have gcc/8.5.0 and perl/5.14.2. I get a linker error, and i
am unsure how to resolve it:
***@***.*** kext]# make
gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o khmm_wrap.o
khmm_wrap.c
gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o khmm.o khmm.c
gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o kc.o kc.c
gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o khmmDev.o khmmDev.c
gcc -shared -o khmm.so<http://khmm.so> khmm_wrap.o khmm.o kc.o khmmDev.o perl
-MExtUtils::Embed -e ldopts -fPIC
/usr/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status
make: *** [Makefile:16: khmm.so<http://khmm.so>] Error 1
Any thoughts would be appreciated.
—
Reply to this email directly, view it on GitHub
<#117<https://github.com/WGLab/PennCNV/issues/117>>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNG3OAMVA365YPKIQ4ACJLYWYLFBAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DSOJYGE4TSMI<https://github.com/notifications/unsubscribe-auth/ABNG3OAMVA365YPKIQ4ACJLYWYLFBAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DSOJYGE4TSMI>>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
—
Reply to this email directly, view it on GitHub<#117 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGT3YHPCYVIH4XA6JNYMMFTYWYRTHAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGU2TKNZSGU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
Please consider the environment before printing this e-mail
Cleveland Clinic is a nonprofit, multispecialty academic medical center that's recognized in the U.S. and throughout the world for its expertise and care. Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you.
|
Try install libnsl2-devel which gives header file and library file for gcc
to compile together into a shared library.
…On Tue, Mar 5, 2024 at 3:16 PM MrDotOne ***@***.***> wrote:
It is already installed:
rpm -qa | grep libnsl
libnsl2-1.2.0-2.20180605git4a062cf.el8.i686
libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64
libnsl-2.28-211.el8.x86_64
________________________________
From: Kai Wang ***@***.***>
Sent: Tuesday, March 5, 2024 3:14 PM
To: WGLab/PennCNV ***@***.***>
Cc: Weiner, Michael ***@***.***>; Author ***@***.***>
Subject: [EXT] Re: [WGLab/PennCNV] Compilation issues (Issue #117)
PROCEED WITH CAUTION: Slow down and pay close attention to emails sent
from outside the organization. If you receive an unsolicited email from an
unknown sender or are suspicious of the tone, style, vocabulary or urgency
of the email message, never click links or open attachments within it. When
in doubt, you should either delete the email, verify its authenticity by
contacting the sender using an alternative method not listed in the email,
or submit it via the BlueFish button in Outlook for investigation. If you
don't have the BlueFish button or are using a mobile device, forward the
email as an attachment to
***@***.******@***.***?subject=Report%20a%20Suspicious%20Email>
________________________________
can you try install libnsl, like in
https://unix.stackexchange.com/questions/627517/centos-8-usr-bin-ld-cannot-find-lnsl
<
https://unix.stackexchange.com/questions/627517/centos-8-usr-bin-ld-cannot-find-lnsl>
On Tue, Mar 5, 2024 at 2:19 PM MrDotOne ***@***.***> wrote:
> Trying to compile from source the latest version pf PennCNV (1.0.5) on
an
> HPC where i have gcc/8.5.0 and perl/5.14.2. I get a linker error, and i
> am unsure how to resolve it:
>
> ***@***.*** kext]# make
> gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o khmm_wrap.o
> khmm_wrap.c
> gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o khmm.o khmm.c
> gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o kc.o kc.c
> gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o khmmDev.o khmmDev.c
> gcc -shared -o khmm.so<http://khmm.so> khmm_wrap.o khmm.o kc.o
khmmDev.o perl
> -MExtUtils::Embed -e ldopts -fPIC
> /usr/bin/ld: cannot find -lnsl
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:16: khmm.so<http://khmm.so>] Error 1
>
> Any thoughts would be appreciated.
>
> —
> Reply to this email directly, view it on GitHub
> <#117<
#117>>, or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ABNG3OAMVA365YPKIQ4ACJLYWYLFBAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DSOJYGE4TSMI
<
https://github.com/notifications/unsubscribe-auth/ABNG3OAMVA365YPKIQ4ACJLYWYLFBAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DSOJYGE4TSMI>>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
—
Reply to this email directly, view it on GitHub<
#117 (comment)>, or
unsubscribe<
https://github.com/notifications/unsubscribe-auth/AGT3YHPCYVIH4XA6JNYMMFTYWYRTHAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGU2TKNZSGU>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
Please consider the environment before printing this e-mail
Cleveland Clinic is a nonprofit, multispecialty academic medical center
that's recognized in the U.S. and throughout the world for its expertise
and care. Visit us online at http://www.clevelandclinic.org for a
complete listing of our services, staff and locations. Confidentiality
Note: This message is intended for use only by the individual or entity to
which it is addressed and may contain information that is privileged,
confidential, and exempt from disclosure under applicable law. If the
reader of this message is not the intended recipient or the employee or
agent responsible for delivering the message to the intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please contact the sender immediately and destroy
the material in its entirety, whether electronic or hard copy. Thank you.
—
Reply to this email directly, view it on GitHub
<#117 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNG3OB4MSTQPOAXHIXF3X3YWYRYXAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGU2TSMZUGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Got it.
________________________________
From: Kai Wang ***@***.***>
Sent: Tuesday, March 5, 2024 3:21 PM
To: WGLab/PennCNV ***@***.***>
Cc: Weiner, Michael ***@***.***>; Author ***@***.***>
Subject: [EXT] Re: [WGLab/PennCNV] Compilation issues (Issue #117)
PROCEED WITH CAUTION: Slow down and pay close attention to emails sent from outside the organization. If you receive an unsolicited email from an unknown sender or are suspicious of the tone, style, vocabulary or urgency of the email message, never click links or open attachments within it. When in doubt, you should either delete the email, verify its authenticity by contacting the sender using an alternative method not listed in the email, or submit it via the BlueFish button in Outlook for investigation. If you don't have the BlueFish button or are using a mobile device, forward the email as an attachment to ***@***.******@***.***?subject=Report%20a%20Suspicious%20Email>
________________________________
Try install libnsl2-devel which gives header file and library file for gcc
to compile together into a shared library.
On Tue, Mar 5, 2024 at 3:16 PM MrDotOne ***@***.***> wrote:
It is already installed:
rpm -qa | grep libnsl
libnsl2-1.2.0-2.20180605git4a062cf.el8.i686
libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64
libnsl-2.28-211.el8.x86_64
________________________________
From: Kai Wang ***@***.***>
Sent: Tuesday, March 5, 2024 3:14 PM
To: WGLab/PennCNV ***@***.***>
Cc: Weiner, Michael ***@***.***>; Author ***@***.***>
Subject: [EXT] Re: [WGLab/PennCNV] Compilation issues (Issue #117)
PROCEED WITH CAUTION: Slow down and pay close attention to emails sent
from outside the organization. If you receive an unsolicited email from an
unknown sender or are suspicious of the tone, style, vocabulary or urgency
of the email message, never click links or open attachments within it. When
in doubt, you should either delete the email, verify its authenticity by
contacting the sender using an alternative method not listed in the email,
or submit it via the BlueFish button in Outlook for investigation. If you
don't have the BlueFish button or are using a mobile device, forward the
email as an attachment to
***@***.******@***.***?subject=Report%20a%20Suspicious%20Email>
________________________________
can you try install libnsl, like in
https://unix.stackexchange.com/questions/627517/centos-8-usr-bin-ld-cannot-find-lnsl<https://unix.stackexchange.com/questions/627517/centos-8-usr-bin-ld-cannot-find-lnsl>
<
https://unix.stackexchange.com/questions/627517/centos-8-usr-bin-ld-cannot-find-lnsl<https://unix.stackexchange.com/questions/627517/centos-8-usr-bin-ld-cannot-find-lnsl>>
On Tue, Mar 5, 2024 at 2:19 PM MrDotOne ***@***.***> wrote:
> Trying to compile from source the latest version pf PennCNV (1.0.5) on
an
> HPC where i have gcc/8.5.0 and perl/5.14.2. I get a linker error, and i
> am unsure how to resolve it:
>
> ***@***.*** kext]# make
> gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o khmm_wrap.o
> khmm_wrap.c
> gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o khmm.o khmm.c
> gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o kc.o kc.c
> gcc perl -MExtUtils::Embed -e ccopts -fPIC -O -c -o khmmDev.o khmmDev.c
> gcc -shared -o khmm.so<http://khmm.so><http://khmm.so<http://khmm.so>> khmm_wrap.o khmm.o kc.o
khmmDev.o perl
> -MExtUtils::Embed -e ldopts -fPIC
> /usr/bin/ld: cannot find -lnsl
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:16: khmm.so<http://khmm.so><http://khmm.so<http://khmm.so>>] Error 1
>
> Any thoughts would be appreciated.
>
> —
> Reply to this email directly, view it on GitHub
> <#117<https://github.com/WGLab/PennCNV/issues/117><
#117<https://github.com/WGLab/PennCNV/issues/117>>>, or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ABNG3OAMVA365YPKIQ4ACJLYWYLFBAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DSOJYGE4TSMI<https://github.com/notifications/unsubscribe-auth/ABNG3OAMVA365YPKIQ4ACJLYWYLFBAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DSOJYGE4TSMI>
<
https://github.com/notifications/unsubscribe-auth/ABNG3OAMVA365YPKIQ4ACJLYWYLFBAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DSOJYGE4TSMI<https://github.com/notifications/unsubscribe-auth/ABNG3OAMVA365YPKIQ4ACJLYWYLFBAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DSOJYGE4TSMI>>>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
—
Reply to this email directly, view it on GitHub<
#117 (comment)<https://github.com/WGLab/PennCNV/issues/117#issuecomment-1979555725>>, or
unsubscribe<
https://github.com/notifications/unsubscribe-auth/AGT3YHPCYVIH4XA6JNYMMFTYWYRTHAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGU2TKNZSGU<https://github.com/notifications/unsubscribe-auth/AGT3YHPCYVIH4XA6JNYMMFTYWYRTHAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGU2TKNZSGU>>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
Please consider the environment before printing this e-mail
Cleveland Clinic is a nonprofit, multispecialty academic medical center
that's recognized in the U.S. and throughout the world for its expertise
and care. Visit us online at http://www.clevelandclinic.org<http://www.clevelandclinic.org> for a
complete listing of our services, staff and locations. Confidentiality
Note: This message is intended for use only by the individual or entity to
which it is addressed and may contain information that is privileged,
confidential, and exempt from disclosure under applicable law. If the
reader of this message is not the intended recipient or the employee or
agent responsible for delivering the message to the intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please contact the sender immediately and destroy
the material in its entirety, whether electronic or hard copy. Thank you.
—
Reply to this email directly, view it on GitHub
<#117 (comment)<https://github.com/WGLab/PennCNV/issues/117#issuecomment-1979559344>>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNG3OB4MSTQPOAXHIXF3X3YWYRYXAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGU2TSMZUGQ<https://github.com/notifications/unsubscribe-auth/ABNG3OB4MSTQPOAXHIXF3X3YWYRYXAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGU2TSMZUGQ>>
.
You are receiving this because you commented.Message ID:
***@***.***>
—
Reply to this email directly, view it on GitHub<#117 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGT3YHMSUEAMEMNMW3SPUJDYWYSNZAVCNFSM6AAAAABEHXBMS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGU3TIMRXHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
Please consider the environment before printing this e-mail
Cleveland Clinic is a nonprofit, multispecialty academic medical center that's recognized in the U.S. and throughout the world for its expertise and care. Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to compile from source the latest version pf PennCNV (1.0.5) on an HPC where i have gcc/8.5.0 and perl/5.14.2. I get a linker error, and i am unsure how to resolve it:
[root@cc-dclrilog63 kext]# make
gcc
perl -MExtUtils::Embed -e ccopts
-fPIC -O -c -o khmm_wrap.o khmm_wrap.cgcc
perl -MExtUtils::Embed -e ccopts
-fPIC -O -c -o khmm.o khmm.cgcc
perl -MExtUtils::Embed -e ccopts
-fPIC -O -c -o kc.o kc.cgcc
perl -MExtUtils::Embed -e ccopts
-fPIC -O -c -o khmmDev.o khmmDev.cgcc -shared -o khmm.so khmm_wrap.o khmm.o kc.o khmmDev.o
perl -MExtUtils::Embed -e ldopts
-fPIC/usr/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status
make: *** [Makefile:16: khmm.so] Error 1
Any thoughts would be appreciated.
The text was updated successfully, but these errors were encountered: