Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Linux is addictive, I'm hooked! -- MaDsen Wikholm's .sig


programming / comp.lang.asm.x86 / HLA binary unable to locate its library file.

SubjectAuthor
* HLA binary unable to locate its library file.Jackson
+* Re: HLA binary unable to locate its library file.Frank Kotler
|`- Re: HLA binary unable to locate its library file.Jackson
`- Re: HLA binary unable to locate its library file.James Norris

1
Subject: HLA binary unable to locate its library file.
From: Jackson
Newsgroups: comp.lang.asm.x86
Organization: A noiseless patient Spider
Date: Fri, 22 May 2020 19:47 UTC
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: wid...@nospicedham.gmail.com (Jackson)
Newsgroups: comp.lang.asm.x86
Subject: HLA binary unable to locate its library file.
Date: Fri, 22 May 2020 12:47:06 -0700 (PDT)
Organization: A noiseless patient Spider
Lines: 44
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <db643264-acd2-48c0-9575-1e4b2df6a12c@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Date: Fri, 22 May 2020 19:47:07 +0000
Injection-Info: reader02.eternal-september.org; posting-host="56ae05359263c4f9e1976c41f3c04e5b";
logging-data="22818"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+4qf829e1N6e89N7DAf6HaLXctS1N1Vc8="
User-Agent: G2/1.0
Cancel-Lock: sha1:01yP3J489NAW6pw3Z7pH7ste95U=
View all headers
Hello all.

I was directed here by the textbook "The Art of Assembly Language Programming." I hope this is the appropriate forum; the text only mentions that comp.lang.asm.x86 is an "Internet newgroup."

I am hoping for guidance on the installation of High Level Assembly.

When compiling, HLA reports:

ERROR! Could not locate the hlalib.a file.
Have you set the 'hlalib' environment variable properly?

My .bashrc contains:

hlalib=/home/jackson/bin/hla-resources/hlalib
export hlalib

hlainc=/home/jackson/bin/hla-resources/include
export hlainc

I've executed 'source .bashrc' to refresh(?) the configuration.

Permissions are as follows:

[jackson@laptop bin]$ ls -ARl
.:
total 3040
-rwxrwxr-x. 1 jackson jackson  726944 May 21 19:28 hla
-rwxr-xr-x. 1 jackson jackson   42324 May 21 19:28 hlacmp
-rwxrwxr-x. 1 jackson jackson 2330716 May 21 19:28 hlaparse
drwxrwxr-x. 4 jackson jackson    4096 May 22 11:32 hla-resources

./hla-resources:
total 8
drwxrwxr-x. 2 jackson jackson 4096 May 21 19:27 hlalib
drwxr-xr-x. 3 jackson jackson 4096 May 21 19:27 include

./hla-resources/hlalib:
total 4552
-rw-r--r--. 1 jackson jackson 2281264 May 21 19:28 hlalib.a
-rw-r--r--. 1 jackson jackson 2376200 May 21 19:28 hlalib_safe.a
...

Has anyone installed HLA recently and encountered a similar issue? Any insight would be greatly appreciated.



Subject: Re: HLA binary unable to locate its library file.
From: Frank Kotler
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Fri, 22 May 2020 20:32 UTC
References: 1
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: fbkot...@nospicedham.myfairpoint.net (Frank Kotler)
Newsgroups: comp.lang.asm.x86
Subject: Re: HLA binary unable to locate its library file.
Date: Fri, 22 May 2020 16:32:03 -0400
Organization: Aioe.org NNTP Server
Lines: 56
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <ra9d3u$15vg$1@gioia.aioe.org>
References: <db643264-acd2-48c0-9575-1e4b2df6a12c@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="56ae05359263c4f9e1976c41f3c04e5b";
logging-data="28975"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xUreV5hx3U16rOQytn3u+IvJQLcefEPI="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Thunderbird/52.5.2
Cancel-Lock: sha1:Ez95i7GYR0bhP++XWQymr6MfIAM=
View all headers
On 05/22/2020 03:47 PM, Jackson wrote:
Hello all.

I was directed here by the textbook "The Art of Assembly Language Programming." I hope this is the appropriate forum; the text only mentions that comp.lang.asm.x86 is an "Internet newgroup."

I am hoping for guidance on the installation of High Level Assembly.

When compiling, HLA reports:

ERROR! Could not locate the hlalib.a file.
Have you set the 'hlalib' environment variable properly?

My .bashrc contains:

hlalib=/home/jackson/bin/hla-resources/hlalib
export hlalib

hlainc=/home/jackson/bin/hla-resources/include
export hlainc

I've executed 'source .bashrc' to refresh(?) the configuration.

Permissions are as follows:

[jackson@laptop bin]$ ls -ARl
.:
total 3040
-rwxrwxr-x. 1 jackson jackson  726944 May 21 19:28 hla
-rwxr-xr-x. 1 jackson jackson   42324 May 21 19:28 hlacmp
-rwxrwxr-x. 1 jackson jackson 2330716 May 21 19:28 hlaparse
drwxrwxr-x. 4 jackson jackson    4096 May 22 11:32 hla-resources

./hla-resources:
total 8
drwxrwxr-x. 2 jackson jackson 4096 May 21 19:27 hlalib
drwxr-xr-x. 3 jackson jackson 4096 May 21 19:27 include

./hla-resources/hlalib:
total 4552
-rw-r--r--. 1 jackson jackson 2281264 May 21 19:28 hlalib.a
-rw-r--r--. 1 jackson jackson 2376200 May 21 19:28 hlalib_safe.a
...

Has anyone installed HLA recently and encountered a similar issue? Any insight would be greatly appreciated.


Hi Jackson,
Sorry for the delay - moderated newsgroup. I don't think you'll find any HLA users here. Dearcj for an "aoaprogramming" group. Good Luck!

Best,
Frank
(moderator)





Subject: Re: HLA binary unable to locate its library file.
From: Jackson
Newsgroups: comp.lang.asm.x86
Organization: A noiseless patient Spider
Date: Fri, 22 May 2020 21:57 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: wid...@nospicedham.gmail.com (Jackson)
Newsgroups: comp.lang.asm.x86
Subject: Re: HLA binary unable to locate its library file.
Date: Fri, 22 May 2020 14:57:31 -0700 (PDT)
Organization: A noiseless patient Spider
Lines: 57
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <95b431c3-ec81-409f-a612-b76b4aaebfd3@googlegroups.com>
References: <db643264-acd2-48c0-9575-1e4b2df6a12c@googlegroups.com> <ra9d3u$15vg$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Date: Fri, 22 May 2020 21:57:32 +0000
Injection-Info: reader02.eternal-september.org; posting-host="56ae05359263c4f9e1976c41f3c04e5b";
logging-data="25335"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+knJNRURhsj1Vuxs3A0awjP8Pjt6iyOJQ="
User-Agent: G2/1.0
Cancel-Lock: sha1:pWZfRGqxVY8pwgc1xRYv2DsH85w=
View all headers
On Friday, May 22, 2020 at 1:42:40 PM UTC-7, Frank Kotler wrote:
On 05/22/2020 03:47 PM, Jackson wrote:
Hello all.

I was directed here by the textbook "The Art of Assembly Language Programming." I hope this is the appropriate forum; the text only mentions that comp.lang.asm.x86 is an "Internet newgroup."

I am hoping for guidance on the installation of High Level Assembly.

When compiling, HLA reports:

ERROR! Could not locate the hlalib.a file.
Have you set the 'hlalib' environment variable properly?

My .bashrc contains:

hlalib=/home/jackson/bin/hla-resources/hlalib
export hlalib

hlainc=/home/jackson/bin/hla-resources/include
export hlainc

I've executed 'source .bashrc' to refresh(?) the configuration.

Permissions are as follows:

[jackson@laptop bin]$ ls -ARl
.:
total 3040
-rwxrwxr-x. 1 jackson jackson  726944 May 21 19:28 hla
-rwxr-xr-x. 1 jackson jackson   42324 May 21 19:28 hlacmp
-rwxrwxr-x. 1 jackson jackson 2330716 May 21 19:28 hlaparse
drwxrwxr-x. 4 jackson jackson    4096 May 22 11:32 hla-resources

./hla-resources:
total 8
drwxrwxr-x. 2 jackson jackson 4096 May 21 19:27 hlalib
drwxr-xr-x. 3 jackson jackson 4096 May 21 19:27 include

./hla-resources/hlalib:
total 4552
-rw-r--r--. 1 jackson jackson 2281264 May 21 19:28 hlalib.a
-rw-r--r--. 1 jackson jackson 2376200 May 21 19:28 hlalib_safe.a
...

Has anyone installed HLA recently and encountered a similar issue? Any insight would be greatly appreciated.


Hi Jackson,
Sorry for the delay - moderated newsgroup. I don't think you'll find any
HLA users here. Dearcj for an "aoaprogramming" group. Good Luck!

Best,
Frank
(moderator)

Thank you for your time Frank!



Subject: Re: HLA binary unable to locate its library file.
From: James Norris
Newsgroups: comp.lang.asm.x86
Organization: A noiseless patient Spider
Date: Sun, 24 May 2020 11:05 UTC
References: 1
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jim...@nospicedham.rainbarrel.com (James Norris)
Newsgroups: comp.lang.asm.x86
Subject: Re: HLA binary unable to locate its library file.
Date: Sun, 24 May 2020 04:05:05 -0700 (PDT)
Organization: A noiseless patient Spider
Lines: 29
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <34ec9851-d19d-4c5e-b28b-9db20b3c8b45@googlegroups.com>
References: <db643264-acd2-48c0-9575-1e4b2df6a12c@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Date: Sun, 24 May 2020 11:05:05 +0000
Injection-Info: reader02.eternal-september.org; posting-host="5017c33d69125fd254d872522b73d3d3";
logging-data="23864"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18iRn8JmSAY1FM1p1CrUFKVjeryfmf7Mko="
User-Agent: G2/1.0
Cancel-Lock: sha1:RVbzBcUxAz4sFm/zeXQyMVoLjIM=
View all headers
On Friday, May 22, 2020 at 4:27:30 PM UTC-4, Jackson wrote:

ERROR! Could not locate the hlalib.a file.
Have you set the 'hlalib' environment variable properly?

hlalib=/home/jackson/bin/hla-resources/hlalib
export hlalib

If you are on Mac Os, they recently changed their security to make it so dlopen will not find a shared library unless it is in a standard location for shared libraries, or in the same subdirectory as the program that is using it, regardless of how the environment variables are set. The fix is to copy hlalib to a standard
location, or the same directory as the program that is using it. The extra security makes it difficult to put the shared library into one of the standard locations...

The standard locations of shared libraries are:

The standard locations for dynamic libraries are ~/lib, /usr/local/lib, and /usr/lib.

Reference: https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/UsingDynamicLibraries.html

If you are on a Mac, please try Diaperglu. It has an x86 assembler in it and soon it will support vex instructions.



1
rocksolid light 0.7.2
clearneti2ptor