Skip to content
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

Error: Warning for Ignoring Duplicate Libraries on App Install and Startup #18

Open
kmesiab opened this issue Dec 8, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@kmesiab
Copy link
Owner

kmesiab commented Dec 8, 2023

Description

When installing and starting the application, the linker (ld) emits a warning indicating that it is ignoring duplicate libraries, specifically -lobjc.

Error Message

ld: warning: ignoring duplicate libraries: '-lobjc'

Expected Behavior

The installation and startup process should occur without any warnings from the linker about duplicate libraries.

Actual Behavior

The linker outputs a warning about duplicate libraries, which could indicate a potential misconfiguration in the build settings or script.

Possible Solution

  • Review the build settings and linker flags to ensure that the -lobjc flag is not included multiple times.
  • Check any custom build scripts or makefiles for duplicate inclusion of libraries.
  • Investigate the order and structure of the build process to identify where the duplication might occur.

Steps to Reproduce

  1. Run the installation command or build process.
  2. Observe the warning during the linking phase.

Impact

While this is currently a warning and does not prevent the application from running, it could mask other linking issues and may lead to undefined behavior if not addressed.

Environment

  • Application version: [specify version]
  • Operating System: [specify OS and version]
  • Compiler/Linker version: [specify compiler/linker and version]

Additional Information

  • If there are multiple build configurations, specify if this occurs in all or specific ones.
@kmesiab kmesiab added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant